comparison hgext/record.py @ 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 fb5f34bb3867
children 75e7d4a0f135
comparison
equal deleted inserted replaced
21804:becb61de90a1 21805:23f3241406ff
601 601
602 # 4. We prepared working directory according to filtered 602 # 4. We prepared working directory according to filtered
603 # patch. Now is the time to delegate the job to 603 # patch. Now is the time to delegate the job to
604 # commit/qrefresh or the like! 604 # commit/qrefresh or the like!
605 605
606 # it is important to first chdir to repo root -- we'll call 606 # Make all of the pathnames absolute.
607 # a highlevel command with list of pathnames relative to
608 # repo root
609 newfiles = [repo.wjoin(nf) for nf in newfiles] 607 newfiles = [repo.wjoin(nf) for nf in newfiles]
610 commitfunc(ui, repo, *newfiles, **opts) 608 commitfunc(ui, repo, *newfiles, **opts)
611 609
612 return 0 610 return 0
613 finally: 611 finally: