annotate bin/undo @ 5155:114ace0a7ea6

<shachaf> slashlearn identity function/The identity function is a mockingbird.
author HackBot
date Wed, 19 Nov 2014 10:34:38 +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