Mercurial > dotfiles
annotate unixSoft/bin/servehg.sh @ 372:ce87db9038f5
havepatch: new script to easily check if a mailed patch is applied
Right now this only works on the hg repo, and it assumes the patch was
applied as a descendant of 3.5 to keep the checks quick. In a perfect
world I'd be able to do this all with obsolete marker checks, but that
doesn't seem to be a good option yet.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 13 Oct 2015 11:04:51 -0400 |
parents | ef5c69032d20 |
children |
rev | line source |
---|---|
41
ef5c69032d20
Multi-hg serving code I seem to use often.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
1 #!/bin/sh |
ef5c69032d20
Multi-hg serving code I seem to use often.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
2 PID_PATH=$HOME/unixSoft/hg.pid |
ef5c69032d20
Multi-hg serving code I seem to use often.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
3 kill `cat $PID_PATH ` |
ef5c69032d20
Multi-hg serving code I seem to use often.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
4 sleep 1 |
ef5c69032d20
Multi-hg serving code I seem to use often.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
5 hg serve --prefix /hg/ --webdir-conf $HOME/unixSoft/etc/hgwebdir.conf -p 9000 --pid-file $PID_PATH --style monoblue -d --config web.contact=- --config web.description=- |