script suggestions

mp3geek mp3geek at gmail.com
Fri Jan 22 22:27:03 CST 2010


Seems if I use hg pull --rebase, I still have to do hg pull to actually pull
any new changes, anyways, the script sort of works..

#!/bin/bash
hg pull --rebase
hg add .
hg update
hg pull
hg update
hg commit -m "$1"
hg push

user at home-desktop:~$ ./script.sh "sample commit"

However I've come accross when I tried to commit a new change, to then
reverse another users commit, which I'd like to avoid happening.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20100123/9d63110b/attachment.htm>


More information about the Mercurial mailing list