On Mon, Feb 1, 2010 at 8:27 PM, Afriza N. Arief <afriza...@gmail.com> wrote: > Hi, > I am using TortoiseHg 0.9.X and enjoy the new shiny MQ integration. > I often open both RepoExplorer & Commit Dialog at the same time. here is my > scenario: > - there is no patch applied > - commit dialog is opened, and refreshed > - apply patch(es) from RepoExplorer; or try to qimport one or more > revisions. > - click refresh multiple times in the commit dialog ( I am one of those > people who like to click "refresh" multiple times ) > --> Oops, accidentally clicked "forget" button... (because the buttons' > width is not the same) > so, here comes my question, how do I "undo" forget command? > What I did was clone the repository, and replace .hg with the new clone's > .hg, but I hope there's a better way.
For the most part, you can simply revert the 'forgotten' files. The only time this will not work is if you 'forget' an added file. In that case you will have to re-add it. Until you commit, the forget command has no effect. There shouldn't be any need to mess with the .hg directories. Worst case, you can do a clean checkout using the recovery tool, repository explorer, or even the command line: 'hg update -C'. -- Steve Borho ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Tortoisehg-discuss mailing list Tortoisehg-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss