Created
March 15, 2013 20:58
-
-
Save tombatron/5173058 to your computer and use it in GitHub Desktop.
Archiving only changed files between revisions in hg.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From bash... | |
hg grep -r rev1:rev2 --all . | cut -d : -f 1 | sort -u | sed 's/^/-I /' | xargs echo hg archive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment