--- a/mercurial/commands.py Wed Oct 05 19:27:35 2005 -0700
+++ b/mercurial/commands.py Fri Oct 07 10:48:27 2005 -0700
@@ -1193,7 +1193,7 @@
o = repo.findincoming(other)
if not o:
return
- o = other.newer(o)
+ o = other.changelog.nodesbetween(o)[0]
for n in o:
show_changeset(ui, other, changenode=n)
if opts['patch']:
@@ -1305,7 +1305,7 @@
dest = ui.expandpath(dest)
other = hg.repository(ui, dest)
o = repo.findoutgoing(other)
- o = repo.newer(o)
+ o = repo.changelog.nodesbetween(o)[0]
for n in o:
show_changeset(ui, repo, changenode=n)
if opts['patch']: