revert a revert

rupert.thurner rupert.thurner at gmail.com
Tue Sep 18 13:14:47 UTC 2012


hi,

i am a little ashame to ask such a question here, but maybe somebody of you 
already had a solution.
what is the simplest solution to copy back all orig files to the original 
name, and with it revert a revert?

something what could look like this in windows power shell:
get-childItem -recurse | Where {$_.extension -eq ".orig"} | rename-item 
-newname { $_.name -replace ".orig","" }

rupert.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20120918/93fa54fa/attachment-0002.html>


More information about the Mercurial mailing list