comparison hgext/mq.py @ 2738:ad4155e757da

Kill ui.setconfig_remoteopts This brought too much knowledge about command line particulars into the ui code. Moved to commands.py.
author Matt Mackall <mpm@selenic.com>
date Mon, 31 Jul 2006 00:47:43 -0500
parents 5d134f04060f
children 2f13f8d3fe80
comparison
equal deleted inserted replaced
2730:819485c43ce3 2738:ad4155e757da
1190 before that it has no patches applied. 1190 before that it has no patches applied.
1191 1191
1192 Source patch repository is looked for in <src>/.hg/patches by 1192 Source patch repository is looked for in <src>/.hg/patches by
1193 default. Use -p <url> to change. 1193 default. Use -p <url> to change.
1194 ''' 1194 '''
1195 ui.setconfig_remoteopts(**opts) 1195 commands.setremoteconfig(**opts)
1196 if dest is None: 1196 if dest is None:
1197 dest = hg.defaultdest(source) 1197 dest = hg.defaultdest(source)
1198 sr = hg.repository(ui, ui.expandpath(source)) 1198 sr = hg.repository(ui, ui.expandpath(source))
1199 qbase, destrev = None, None 1199 qbase, destrev = None, None
1200 if sr.local(): 1200 if sr.local():