comparison .bash_profile @ 79:4a09583afaac

Do a checkout if there's nothing uncommitted
author Steve Huston <huston@srhuston.net>
date Sun, 21 Apr 2013 21:19:12 -0400
parents 10c8cd44bf0a
children f77bb4bb6ed9
comparison
equal deleted inserted replaced
78:10c8cd44bf0a 79:4a09583afaac
57 fi 57 fi
58 esac 58 esac
59 } 59 }
60 60
61 # Meanwhile, local changes are not costly and don't require a trip down the 61 # Meanwhile, local changes are not costly and don't require a trip down the
62 # network, so we can afford to run them any time. 62 # network, so we can afford to run them any time. Make sure there's nothing
63 hg status 63 # to pull from the local repository to the working directory and the working
64 # directory is clean.
65 hg checkout -c || hg status