Issue2090

Title rollback leaves modified working directory
Priority bug Status resolved
Superseder Nosy List djc, timeless, tonfa
Assigned To Topics

Created on 2010-03-11.21:59:35 by timeless, last changed 2012-02-01.00:12:43 by mpm.

Messages
msg12025 (view) Author: tonfa Date: 2010-03-11.22:09:07
We would need to make dirstate.dirstate() accept arbitrary paths to dirstate 
files.
msg12024 (view) Author: timeless Date: 2010-03-11.21:59:35
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
History
Date User Action Args
2012-02-01 00:12:43mpmsetstatus: chatting -> resolved
2010-03-12 07:35:31djcsetnosy: + djc
2010-03-11 22:09:07tonfasetstatus: unread -> chatting
messages: + msg12025
2010-03-11 21:59:35timelesscreate