Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.py @ 12752:18b5b6392fcf
subrepo: rename relpath to subrelpath and introduce reporelpath
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 19 Oct 2010 03:55:28 +0200 |
parents | 8a08b12ae88e |
children | b00eda50ad2b |
comparison
equal
deleted
inserted
replaced
12751:8eb758ea738c | 12752:18b5b6392fcf |
---|---|
936 if subs or removedsubs: | 936 if subs or removedsubs: |
937 state = wctx.substate.copy() | 937 state = wctx.substate.copy() |
938 for s in sorted(subs): | 938 for s in sorted(subs): |
939 sub = wctx.sub(s) | 939 sub = wctx.sub(s) |
940 self.ui.status(_('committing subrepository %s\n') % | 940 self.ui.status(_('committing subrepository %s\n') % |
941 subrepo.relpath(sub)) | 941 subrepo.subrelpath(sub)) |
942 sr = sub.commit(cctx._text, user, date) | 942 sr = sub.commit(cctx._text, user, date) |
943 state[s] = (state[s][0], sr) | 943 state[s] = (state[s][0], sr) |
944 subrepo.writestate(self, state) | 944 subrepo.writestate(self, state) |
945 | 945 |
946 # Save commit message in case this transaction gets rolled back | 946 # Save commit message in case this transaction gets rolled back |