[Bug 5048] New: Shelve doesn't preserve uncommitted branch name after unshelve

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Jan 18 16:41:32 UTC 2016


https://bz.mercurial-scm.org/show_bug.cgi?id=5048

            Bug ID: 5048
           Summary: Shelve doesn't preserve uncommitted branch name after
                    unshelve
           Product: Mercurial
           Version: 3.5.2
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: shelve
          Assignee: bugzilla at selenic.com
          Reporter: visionofarun at gmail.com
                CC: mercurial-devel at selenic.com

I made few changes and marked the current branch with some name. Without
committing, if I shelve the changes and unshelve it, the temporal information
about the branch is lost.

This behaviour is observed with hg 3.5.2 on Linux and 3.6.1 on Windows.

C:\Users\Arun\Documents\Test>hg branch test
marked working directory as branch test
(branches are permanent and global, did you want a bookmark?)

C:\Users\Arun\Documents\Test>hg sum
parent: 231:57fd288444b6 tip
 Modified UT code to handle Quality in EN/VN responses
branch: test
commit: 1 modified (new branch)
update: (current)

C:\Users\Arun\Documents\Test>hg shelve -n test
shelved as test
1 files updated, 0 files merged, 0 files removed, 0 files unresolved

C:\Users\Arun\Documents\Test>hg unshelve test

C:\Users\Arun\Documents\Test>hg sum
parent: 231:57fd288444b6 tip
 Modified UT code to handle Quality in EN/VN responses
branch: default
commit: 1 modified
update: (current)

C:\Users\Arun\Documents\Test>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list