Mercurial > index.cgi > dotfiles
diff .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 |
line wrap: on
line diff
--- a/.bash_profile Sun Apr 21 21:11:06 2013 -0400 +++ b/.bash_profile Sun Apr 21 21:19:12 2013 -0400 @@ -59,5 +59,7 @@ } # Meanwhile, local changes are not costly and don't require a trip down the -# network, so we can afford to run them any time. -hg status +# network, so we can afford to run them any time. Make sure there's nothing +# to pull from the local repository to the working directory and the working +# directory is clean. +hg checkout -c || hg status