Commits

Anonymous committed 8ff7c40

hggtk/commit: use internal dialog on empty tortoisehg.commit

this allows user to override system setting more easily, i.e.
without having to spell out 'internal' explicitly.

  • Participants
  • Parent commits d7bebee

Comments (0)

Files changed (1)

File hggtk/commit.py

         files = [cwd]
 
     ct = repo.ui.config('tortoisehg', 'commit', 'internal')
-    if ct != 'internal':
+    if ct not in ['', 'internal']:
         from hglib import thgdispatch
         args = ['--repository', root, ct]
         try: