开发者

Revert branch or merge revert from trunk?

Is there a commonly accepted practice on how to propaga开发者_如何学运维te a revert from trunk to test/stage and production branches?

My scenario should be quite common:

  • rev 1 start test branch
  • rev 2 start prod branch
  • rev 3 commit change to trunk
  • rev 4 merge trunk to test
  • rev 5 revert trunk to rev 1

Would I now

a) merge trunk to test

or

b) revert test to rev 1

?


I don't know about "commonly accepted", but since it doesn't matter, for simplicity, I personally would want my test branch rev to be no further from the main rev than necessary, so I would merge trunk to test.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜