Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

stable sync: only read hgrc files of related repositories on local disks (refs #537)

Changeset c1f6f061dbb5

Parent e63813991225

by Steve Borho

Changes to one file · Browse files at c1f6f061dbb5 Showing diff from parent e63813991225 Diff from another changeset...

 
387
388
389
390
 
391
392
393
394
 
 
395
396
397
 
387
388
389
 
390
391
392
393
394
395
396
397
398
399
@@ -387,11 +387,13 @@
  # repositories already opened keep their ui instances in sync   repo = thgrepo._repocache[root]   ui = repo.ui - else: + elif paths.is_on_fixed_drive(root):   # directly read the repository's configuration file   tempui = self.repo.ui.copy()   tempui.readconfig(os.path.join(root, '.hg', 'hgrc'))   ui = tempui + else: + continue   for alias, path in ui.configitems('paths'):   if hg.islocal(path):   abs = os.path.abspath(hglib.localpath(path)).lower()