Changeset 8ae7eb737959…
Parent 8af033e9683d…
by
Changes to one file · Browse files at 8ae7eb737959 Showing diff from parent 8af033e9683d Diff from another changeset...
@@ -207,6 +207,8 @@ def rename(ui, *pats, **opts):
"""rename a single file or directory"""
from hggtk.rename import run
+ if len(pats) != 1:
+ raise util.Abort("rename takes a single path argument")
opts['fname'] = pats[0]
run(**opts)
|
Loading...