Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

hgignore: auto-set first glob when file pattern specified

Changeset bb5cc51ed166

Parent 77a46cb76a50

by Steve Borho

Changes to 2 files · Browse files at bb5cc51ed166 Showing diff from parent 77a46cb76a50 Diff from another changeset...

 
258
259
260
261
 
 
258
259
260
 
261
@@ -258,4 +258,4 @@
 def run(_ui, *pats, **opts):   if pats and pats[0].endswith('.hgignore'):   pats = [] - return HgignoreDialog(None, root=None, *pats) + return HgignoreDialog(None, None, *pats)
 
184
185
186
187
 
188
189
190
 
184
185
186
 
187
188
189
190
@@ -184,7 +184,7 @@
   def ignore(parent, ui, repo, files):   from tortoisehg.hgqt.hgignore import HgignoreDialog - dlg = HgignoreDialog(parent, repo.root, '', files) + dlg = HgignoreDialog(parent, repo.root, *files)   return dlg.exec_() == QDialog.Accepted    def remove(parent, ui, repo, files):