diff 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
line wrap: on
line diff
--- a/mercurial/localrepo.py	Tue Oct 19 03:55:06 2010 +0200
+++ b/mercurial/localrepo.py	Tue Oct 19 03:55:28 2010 +0200
@@ -938,7 +938,7 @@
                 for s in sorted(subs):
                     sub = wctx.sub(s)
                     self.ui.status(_('committing subrepository %s\n') %
-                        subrepo.relpath(sub))
+                        subrepo.subrelpath(sub))
                     sr = sub.commit(cctx._text, user, date)
                     state[s] = (state[s][0], sr)
                 subrepo.writestate(self, state)