##// END OF EJS Templates
commands.commit: symlinks are supported
Alexis S. L. Carvalho -
r4572:6a8e1dd1 default
parent child Browse files
Show More
@@ -419,7 +419,7 b' def commit(ui, repo, *pats, **opts):'
419 if i >= len(slist) or not slist[i].startswith(name):
419 if i >= len(slist) or not slist[i].startswith(name):
420 raise util.Abort(_("no match under directory %s!")
420 raise util.Abort(_("no match under directory %s!")
421 % rf)
421 % rf)
422 elif not stat.S_ISREG(mode):
422 elif not (stat.S_ISREG(mode) or stat.S_ISLNK(mode)):
423 raise util.Abort(_("can't commit %s: "
423 raise util.Abort(_("can't commit %s: "
424 "unsupported file type!") % rf)
424 "unsupported file type!") % rf)
425 else:
425 else:
General Comments 0
You need to be logged in to leave comments. Login now