Changeset 5f228d648bae…
Parent 286a2bff133a…
by
Changes to one file · Browse files at 5f228d648bae Showing diff from parent 286a2bff133a Diff from another changeset...
@@ -76,7 +76,7 @@ matcher = cmdutil.matchall(repo)
diffopts = mdiff.diffopts(git=True, nodates=True)
try:
- node1, node2 = repo['tip'].node(), repo['tip'].parents()[0].node()
+ node2, node1 = repo['tip'].node(), repo['tip'].parents()[0].node()
for s in patch.diff(repo, node1, node2, match=matcher, opts=diffopts):
fp.writelines(s.splitlines(True))
except (IOError, error.RepoError, error.LookupError, util.Abort), e:
|
Loading...