Fix fossil SCM update command

* fossil update should do a pull on its own anyway.
This commit is contained in:
François Revol 2012-05-15 20:25:34 +02:00
parent 6f19b90aca
commit 3af608ada5

View File

@ -159,7 +159,7 @@ dev() {
test -z "$DEVUPCMD" -a -d .hg && DEVUPCMD="hg pull"
test -z "$DEVUPCMD" -a -d .git && DEVUPCMD="git pull"
test -z "$DEVUPCMD" -a -d CVS && DEVUPCMD="cvs up -d"
test -z "$DEVUPCMD" -a \( -f _FOSSIL_ -o -f .fslckout \) && DEVUPCMD="fossil pull"
test -z "$DEVUPCMD" -a \( -f _FOSSIL_ -o -f .fslckout \) && DEVUPCMD="fossil update"
test -z "$DEVUPCMD" -a -n "$P4PORT" && DEVUPCMD="p4 sync"
test -n "$DEVUPCMD" && history -s "$DEVUPCMD"
}