##// END OF EJS Templates
commit: rewrite check for `hg ci <path>` being a directory...
Martin von Zweigbergk -
r44110:7f443cce default
parent child Browse files
Show More
@@ -2800,7 +2800,8 class localrepository(object):
2800 2800 continue
2801 2801 if f in status.deleted:
2802 2802 fail(f, _(b'file not found!'))
2803 if f in vdirs: # visited directory
2803 # Is it a directory that exists or used to exist?
2804 if self.wvfs.isdir(f) or wctx.p1().hasdir(f):
2804 2805 d = f + b'/'
2805 2806 for mf in matched:
2806 2807 if mf.startswith(d):
General Comments 0
You need to be logged in to leave comments. Login now