Changeset 7cbb2ee66bf8…
Parent 8e98be2220d7…
by
Changes to one file · Browse files at 7cbb2ee66bf8 Showing diff from parent 8e98be2220d7 Diff from another changeset...
@@ -227,7 +227,8 @@
def global_opts(self):
globalopts = {}
- hgglobals = [opt[1].replace('-', '_') for opt in commands.globalopts if opt[1] != 'help']
+ hgglobals = [opt[1] for opt in commands.globalopts if opt[1] != 'help']
+ hgglobals = [f.replace('-', '_') for f in hgglobals]
for key in self.opts:
if key in hgglobals :
globalopts[key] = self.opts[key]
|
Loading...