comparison hgext/mq.py @ 2766:c5ac397f7671

fix call to commands.setremoteconfig
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 02 Aug 2006 09:18:56 -0700
parents 0327bd1c831c
children 60683ab1ed33
comparison
equal deleted inserted replaced
2765:0327bd1c831c 2766:c5ac397f7671
1226 before that it has no patches applied. 1226 before that it has no patches applied.
1227 1227
1228 Source patch repository is looked for in <src>/.hg/patches by 1228 Source patch repository is looked for in <src>/.hg/patches by
1229 default. Use -p <url> to change. 1229 default. Use -p <url> to change.
1230 ''' 1230 '''
1231 commands.setremoteconfig(**opts) 1231 commands.setremoteconfig(ui, opts)
1232 if dest is None: 1232 if dest is None:
1233 dest = hg.defaultdest(source) 1233 dest = hg.defaultdest(source)
1234 sr = hg.repository(ui, ui.expandpath(source)) 1234 sr = hg.repository(ui, ui.expandpath(source))
1235 qbase, destrev = None, None 1235 qbase, destrev = None, None
1236 if sr.local(): 1236 if sr.local():