Is there a way to do a partial shelve in a hg working copy?

My use case is having a working copy where I realize one of the issues I was working on (but far from being in a good state, let alone a committable state) can/must be postponed for a while.

Therefore I'd like to shelve the specific files (or hunks) related to that issue under a given label, to remove them from my working copy, to be addressed later.

2 answers

1 accepted

Hi Tobia!

When we first used Hg's shelve extension it didn't support shelving hunks/files - recently this has changed and it now does which means we can add support for it. This one has already been filed after we found out it was possible here:

Hope that helps

It's been over one year now... Any progress on the matter?

You already don't support queues... lots of missing features sad

Hey Jean-Yves, For features like these we generally go on how much the community want it. I did take a long look into this one in the hope we could invest some time in it, but unfortunately we haven't been able to just yet. It's definitely one we'd like to implement, though. Cheers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,231 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you