Changeset 3a2b59afd222…
Parent fa7d2be835e4…
by
Changes to one file · Browse files at 3a2b59afd222 Showing diff from parent fa7d2be835e4 Diff from another changeset...
@@ -186,6 +186,10 @@ elif not cmd:
return help_(ui, 'shortlist')
+ if options['repository']:
+ path = ui.expandpath(options['repository'])
+ cmdoptions['repository'] = path
+ os.chdir(path)
path = paths.find_root(os.getcwd())
if path:
try:
@@ -195,9 +199,6 @@ pass
else:
lui = ui
- if options['repository']:
- path = lui.expandpath(options['repository'])
- cmdoptions['repository'] = path
_loaded = {}
extensions.loadall(ui)
|
Loading...