# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1394379678 14400 # Node ID c56ec3b0ed9c56497a205be7c3353aaefa5517a9 # Parent c657209f840b760f51907ebbdd4b6a251eadd267 Rename basic-session to evolve-session diff -r c657209f840b -r c56ec3b0ed9c basic-session --- a/basic-session Sun Mar 09 11:39:50 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,52 +0,0 @@ -# Let's grab the Python Code of Conduct and have a look -hg clone http://hg.python.org/coc/ -cd coc -hg log -G -ls - -# Now let's add a couple of bookmarks -hg book upstream -hg book jordi - -# And make two changes -fold -s -w 72 CodeOfConduct.rst > /tmp/coc && mv /tmp/coc CodeOfConduct.rst -sed -i 's/ $//' CodeOfConduct.rst -hg ci -m "Word-wrap CodeOfConduct" -sed -i 's/Python/Cobra/g' CodeOfConduct.rst -hg ci -m "Change Python's name to something much cooler" - -# Where were we? -hg log -G -hg diff -c 3 - -# Wait, Cobra is not a community -sed -i 's/community/command/g' CodeOfConduct.rst -hg ci -m "Cobra Command is not a community" - -hg log -G - -# Command should be capitalised -sed -i 's/command/Command/g' CodeOfConduct.rst -hg amend - -hg log -G - -# Wait, we forgot to update the README -hg prev -hg log -G -sed -i "s/Python Software Foundation/Cobra Commander HQ/g" README -sed -i "s/PSF/CCHQ/g" README -hg amend - -# What's this about unstable csets? -hg log -G -hg evolve --all -hg log -G - -# What if we try to drop an old commit? -hg prune -r upstream - -# Let's go back to where we were -hg next - -!RET \ No newline at end of file diff -r c657209f840b -r c56ec3b0ed9c evolve-session --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/evolve-session Sun Mar 09 11:41:18 2014 -0400 @@ -0,0 +1,52 @@ +# Let's grab the Python Code of Conduct and have a look +hg clone http://hg.python.org/coc/ +cd coc +hg log -G +ls + +# Now let's add a couple of bookmarks +hg book upstream +hg book jordi + +# And make two changes +fold -s -w 72 CodeOfConduct.rst > /tmp/coc && mv /tmp/coc CodeOfConduct.rst +sed -i 's/ $//' CodeOfConduct.rst +hg ci -m "Word-wrap CodeOfConduct" +sed -i 's/Python/Cobra/g' CodeOfConduct.rst +hg ci -m "Change Python's name to something much cooler" + +# Where were we? +hg log -G +hg diff -c 3 + +# Wait, Cobra is not a community +sed -i 's/community/command/g' CodeOfConduct.rst +hg ci -m "Cobra Command is not a community" + +hg log -G + +# Command should be capitalised +sed -i 's/command/Command/g' CodeOfConduct.rst +hg amend + +hg log -G + +# Wait, we forgot to update the README +hg prev +hg log -G +sed -i "s/Python Software Foundation/Cobra Commander HQ/g" README +sed -i "s/PSF/CCHQ/g" README +hg amend + +# What's this about unstable csets? +hg log -G +hg evolve --all +hg log -G + +# What if we try to drop an old commit? +hg prune -r upstream + +# Let's go back to where we were +hg next + +!RET \ No newline at end of file