27:b124c75961d1
Anton Shestakov <engored@ya.ru>, Thu, 27 Feb 2014 20:01:56 +0900
bsdutil's cal.

previous change 8:86f2ec90bb93

docs/prompt_screens.sh

Permissions: -rwxr-xr-x

Other formats: Feeds:
#!/bin/sh
set -x
### MERCURIAL: PREPARE COMMIT GRAPH
hg init /tmp/hgrepo && cd /tmp/hgrepo
# revision 0
echo "Haikus are easy" > poem && hg ci --addremove -m "First steps"
# revision 1
echo "Refrigerator" >> poem && hg ci -m "Progress!"
# revision 2, another head
hg up -r 0 && echo "But sometimes they don't make sense" >> poem && hg ci -m "How could I forget?"
### MERCURIAL: DEMONSTRATE
# clean repo at 2: minimal info
hg up -r 2 -C && read
# branch branch branch
hg branch branch && read
# dirty working directory
echo "Roses are red" >> poem && read
# clean, but not up-to-date repo at 1
hg up -C -r 1 && read
# merging
hg merge && read