Changeset 05ebcea58c34…
Parent 088e3bf88bb2…
by
Changes to one file · Browse files at 05ebcea58c34 Showing diff from parent 088e3bf88bb2 Diff from another changeset...
@@ -696,7 +696,10 @@ from tortoisehg.hgqt.annotate import run
if len(pats) != 1:
ui.warn(_('annotate requires a single filename\n'))
- return
+ if pats:
+ pats = pats[0:]
+ else:
+ return
return qtrun(run, ui, *pats, **opts)
def init(ui, *pats, **opts):
|
Loading...