Changeset a36424c2782e…
Parent f0246a83d5f0…
by
Changes to one file · Browse files at a36424c2782e Showing diff from parent f0246a83d5f0 Diff from another changeset...
@@ -218,7 +218,8 @@ for f in self.fnames:
cpath = util.canonpath(self.repo.root, cwd, f)
if cpath.startswith(cwd_rel):
- cpath = cpath[len(cwd_rel):]
+ if cwd_rel:
+ cpath = cpath[len(cwd_rel+os.sep):]
files.append(cpath)
else:
files.append(f)
|
Loading...