New issue 318: Changed files should not be auto-selected after commit if the 
user unselected them
http://bitbucket.org/tortoisehg/stable/issue/318/changed-files-should-not-be-auto-selected-after-commit-if-the-user-unselected

amadawn on Tue, 23 Jun 2009 12:24:50 +0200:

Description:
  When you open the commit tool, all the changed files are automatically 
selected. This is fine and useful.

If then you unselect some of the files, perhaps because you can to split a set 
of changes into several separate commits, once you click the commit button the 
remaining changed files are auto-selected again.

I think that this is very counterintuitive, specially when you are committing 
separately several changes that are made on the same file

More than once I have found myself having committed files which I did not 
intend to commit (yet) or that I wanted to commit separately, with a different 
commit message.

Ideally, TortoiseHg should realize that the list of files to commit had been 
changed from the default (i.e. all changed files) and not change it 
automatically until the commit tool is closed.

Also, when this happens (i.e. when you accidentally commit files, but you still 
have local changes that you have not commited), it is very hard to undo your 
commit. If you try to go to the change log and do a "strip revision" to start 
over, you get an error message saying that there are uncommited local changes!

So far, the best method that I have found to undo such an error is to make a 
manual copy of the modified files into a temporary folder, strip the last 
revision, and copy the changed files from the temp folder on top of the 
original files. Perhaps I should use the "Shelve" tool instead (although that 
currently has a problema as described in a separate issue).

Other than that, is there any other way to do undo a commit, while safely 
keeping the local changes? It would be great if TortoiseHg let you do something 
like that!


Responsible:
  tortoisehg
-- 
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to