Skip to content

Instantly share code, notes, and snippets.

@thinkcreate
Created June 18, 2009 11:02
Show Gist options
  • Save thinkcreate/131850 to your computer and use it in GitHub Desktop.
Save thinkcreate/131850 to your computer and use it in GitHub Desktop.
env:
OSX v10.4.11
Python 2.5
mercurial v1.2.1
git v1.6.3.1
repos:
using python repository as of 2009-06-18
overall:
- *** totally not scientific ***
- any output to /dev/null
operations:
clone
git clone git://code.python.org/python/trunk 1:29
hg clone http://code.python.org/hg/trunk 3:02
space (du -hs)
git 137M
hg 175M
log specific file
git log README 1.68
hg log README 0.65
log latest 10 commits
git log -10 0.02
hg log -l 10 0.52
status
git status 0.11
hg status 0.27
list branches
git branch 0.02
hg branches 0.43
get changes from remote
git fetch 0.08
hg pull 0.52
diff
git diff 0.04
hg diff 0.26
going back 500 commits
git checkout HEAD~500 1.5
hg checkout -r -501 4.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment