revert a revert
Mads Kiilerich
mads at kiilerich.com
Thu Sep 20 11:52:09 UTC 2012
On 09/18/2012 03:14 PM, rupert.thurner wrote:
> 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","" }|
The simplest solution is a solution that you know works for you and
where you just have to press the button. Your little snippet might thus
be a good candidate.
Another solution could be something like
https://bitbucket.org/hstuart/hg-multiundo .
/Mads
More information about the Mercurial
mailing list