diff --git a/hgext/record.py b/hgext/record.py --- a/hgext/record.py +++ b/hgext/record.py @@ -603,9 +603,7 @@ def dorecord(ui, repo, commitfunc, cmdsu # patch. Now is the time to delegate the job to # commit/qrefresh or the like! - # it is important to first chdir to repo root -- we'll call - # a highlevel command with list of pathnames relative to - # repo root + # Make all of the pathnames absolute. newfiles = [repo.wjoin(nf) for nf in newfiles] commitfunc(ui, repo, *newfiles, **opts)