revert a revert

32 views
Skip to first unread message

rupert.thurner

unread,
Sep 18, 2012, 9:14:47 AM9/18/12
to merc...@selenic.com
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.

Reply all
Reply to author
Forward
0 new messages