Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

clone: add recent sync targets to clone source list

refs #104

Changeset 68d248291aca

Parent ade938fcbc2a

by Steve Borho

Changes to one file · Browse files at 68d248291aca Showing diff from parent ade938fcbc2a Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​clone.py Stacked
 
39
40
41
 
 
 
42
43
44
 
100
101
102
103
 
 
 
104
105
106
 
39
40
41
42
43
44
45
46
47
 
103
104
105
 
106
107
108
109
110
111
@@ -39,6 +39,9 @@
  self._recent_src = self._settings.mrul('src_paths')   self._recent_dest = self._settings.mrul('dest_paths')   + sync_settings = shlib.Settings('synch') + self._sync_src = sync_settings.mrul('src_paths') +   try:   self._src_path = repos[0]   self._dest_path = repos[1] @@ -100,7 +103,9 @@
    # add pre-defined src paths to pull-down list   sympaths = [x[1] for x in ui.ui().configitems('paths')] - paths = list(set(sympaths + [x for x in self._recent_src])) + recent = [x for x in self._recent_src] + sync = [x for x in self._sync_src] + paths = list(set(sympaths + recent + syncsrc))   paths.sort()   for p in paths:   self._srclist.append([p])