annotate bin/undo @ 5582:03ab4bf21ad7

<shachaf> le/rn newline/Newlines are le/rn\'s \\ biggest weakness.
author HackBot
date Mon, 15 Jun 2015 21:17:07 +0000
parents 08a929427374
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1721
ab80805a8878 <elliott> echo "#!/bin/sh" >bin/undo; echo \'hg diff -c "$@" | patch -R\' >>bin/undo; chmod +x bin/undo
HackBot
parents:
diff changeset
1 #!/bin/sh
5074
08a929427374 <oerjan> sed -i \'s/-R/-p1 -R/\' bin/undo
HackBot
parents: 1721
diff changeset
2 hg diff -c "$@" | patch -p1 -R