Merge remote-tracking branch 'edavis/fix-diff-example'

This commit is contained in:
J. David Ibáñez
2012-08-28 10:30:36 +02:00

View File

@@ -211,7 +211,7 @@ A diff shows the changes between trees, an index or the working dir::
# Diff two trees # Diff two trees
>>> t0 = repo.head.tree >>> t0 = repo.head.tree
>>> t1 = repo.head.parents[0] >>> t1 = repo.head.parents[0].tree
>>> diff = t0.diff(t1) >>> diff = t0.diff(t1)
>>> diff >>> diff