comparison utility_commands.py @ 157:91541523ea5c

utility_commands: Test outgoing and fix it to work again.
author Augie Fackler <durin42@gmail.com>
date Wed, 24 Dec 2008 11:12:23 -0600
parents 1fde85a10f9e
children 7a5a0b5c8e34
comparison
equal deleted inserted replaced
156:56dae5beae65 157:91541523ea5c
133 """ 133 """
134 hge = hg_delta_editor.HgChangeReceiver(hg_repo_path, 134 hge = hg_delta_editor.HgChangeReceiver(hg_repo_path,
135 ui_=ui) 135 ui_=ui)
136 svn_commit_hashes = dict(zip(hge.revmap.itervalues(), 136 svn_commit_hashes = dict(zip(hge.revmap.itervalues(),
137 hge.revmap.iterkeys())) 137 hge.revmap.iterkeys()))
138 o_r = util.outgoing_revisions(ui, repo, hge, svn_commit_hashes, repo.parents()[0]) 138 o_r = util.outgoing_revisions(ui, repo, hge, svn_commit_hashes, repo.parents()[0].node())
139 if not (o_r and len(o_r)): 139 if not (o_r and len(o_r)):
140 ui.status('No outgoing changes found.\n') 140 ui.status('No outgoing changes found.\n')
141 return 0 141 return 0
142 displayer = cmdutil.show_changeset(ui, repo, opts, buffered=False) 142 displayer = cmdutil.show_changeset(ui, repo, opts, buffered=False)
143 for node in reversed(o_r): 143 for node in reversed(o_r):