2

From what I've read adding new features to a release is discouraged.

Now suppose the boss really wants that new feature in the current release, how would you handle this?

I can think of two options, which I believe are not supported by hgflow:

  • option 1:

    1. branch from dev at the branching point of release/x.x
    2. finish feature
    3. merge to release/x.x
    4. close feature branch
  • option2:

    1. branch from latest point in release/x.x
    2. release/x.x/featName
    3. finish feature
    4. merge to release/x.x
    5. close feature branch

How would you deal with this scenario?

asked Oct 23, 2012 at 0:07

2 Answers 2

4

The newer versions of hgflow (0.9.4 is the latest) by yujiewu support Option2. The syntax is something like the following:

# In release/x.x branch
hg flow release/x.x start boss_wants_new_feature
# Now you create a branch called release/x.x/boss_wants_new_feature.
(a bunch of commits to implement the feature)
# In release/x.x/boss_wants_new_feature branch
hg flow release/x.x finish
answered Oct 26, 2012 at 17:37
1

If I understood correctly, the only difference is that option 1 uses the version from the moment of release and option 2 takes code added after the version was released. If that's the case, it totally dependeds on whenether you want this new code to be included when you release the new feature or not. If you are unsure, take option 1.

answered Oct 23, 2012 at 3:56

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.