[issue2090] rollback leaves modified working directory

timeless bugs at mercurial.selenic.com
Thu Mar 11 21:59:35 UTC 2010


New submission from timeless <timeless at gmail.com>:

timeless-mbp:tmp timeless$ hg init initial; touch initial/file; hg commit -R
initial -Am initial; echo hello >> initial/file; hg commit -R initial -m 1;
echo world >> initial/file; hg commit -R initial -m 2; hg clone -r 0 initial
revert; hg pull -u -R revert; hg rollback -R revert; hg st -R revert
adding file
requesting all changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
updating to branch default
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
pulling from /private/tmp/initial
searching for changes
adding changesets
adding manifests
adding file changes
added 2 changesets with 2 changes to 1 files
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
rolling back last transaction
M file

tonfa writes:
if it doesn't rollback to a parent, it should abort unless -f probably and
suggest to update to the dirstate.undo rev

----------
messages: 12024
nosy: timeless, tonfa
priority: bug
status: unread
title: rollback leaves modified working directory

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2090>
____________________________________________________


More information about the Mercurial-devel mailing list