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

cmenu: create repo in parent directory if a file is passed in

Fix SF Bug #2113989

Changeset 5313a09bdd5f

Parent 698fc26485c5

by TK Soh

Changes to one file · Browse files at 5313a09bdd5f Showing diff from parent 698fc26485c5 Diff from another changeset...

 
526
527
528
 
 
 
529
530
531
 
526
527
528
529
530
531
532
533
534
@@ -526,6 +526,9 @@
    def _init(self, parent_window):   dest = self._folder or self._filenames[0] + if os.path.isfile(dest): + dest = os.path.dirname(dest) +   msg = "Create Hg repository in %s?" % (dest)   title = "Mercurial: init"   rv = win32ui.MessageBox(msg, title, win32con.MB_OKCANCEL)