Merge remote-tracking branch 'edavis/fix-diff-example'
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user