changeset 58 | 6292cb597954 |
parent 57 | d83a5e9be193 |
child 60 | b65ce9123039 |
57:d83a5e9be193 | 58:6292cb597954 |
---|---|
56 ### HG wrappers |
56 ### HG wrappers |
57 # Run `hg ...` within $REPO. |
57 # Run `hg ...` within $REPO. |
58 function hg { |
58 function hg { |
59 local repo=$REPO |
59 local repo=$REPO |
60 |
60 |
61 cmd $HG -R $ROOT/$repo "$@" |
61 cmd $HG -R $ROOT/$repo "${HG_ARGS[@]}" "$@" |
62 } |
62 } |
63 |
63 |
64 # Does the repo have local modifications? |
64 # Does the repo have local modifications? |
65 function hg_modified { |
65 function hg_modified { |
66 hg id | grep -q '+' |
66 hg id | grep -q '+' |