Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.5, 0.6, and 0.7

hgtk: teach --repository about symbolic path names in .hg/hgrc

Changeset 3bc0754236db

Parent 103724aa4e21

by TK Soh

Changes to one file · Browse files at 3bc0754236db Showing diff from parent 103724aa4e21 Diff from another changeset...

Change 1 of 1 Show Entire File contrib/​hgtk Stacked
 
141
142
143
 
 
 
 
 
 
 
 
144
145
 
146
147
148
 
141
142
143
144
145
146
147
148
149
150
151
152
 
153
154
155
156
@@ -141,8 +141,16 @@
  raise     path = hglib.rootpath(os.getcwd()) + if path: + try: + lui = _ui.ui(parentui=ui) + lui.readconfig(os.path.join(path, ".hg", "hgrc")) + except IOError: + pass + else: + lui = ui   if options['repository']: - path = ui.expandpath(options['repository']) + path = lui.expandpath(options['repository'])     if cmd not in nonrepo_commands.split():   try: