Mercurial > hg-stable
changeset 21805:23f3241406ff
record: update comment to match code
Commit 205599e31870 changed how newfiles get passed to commitfunc, but
did not change the corresponding comment that explains this. This
commit also updates this comment.
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Thu, 26 Jun 2014 11:10:28 -0400 |
parents | becb61de90a1 |
children | 05bd2667df4d |
files | hgext/record.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/record.py Sat Jun 21 14:49:49 2014 +0530 +++ b/hgext/record.py Thu Jun 26 11:10:28 2014 -0400 @@ -603,9 +603,7 @@ # 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)