Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG106b0bec162a: mq: migrate to scmutil.backuppath()
rHGa2caf9974995: mq: migrate to scmutil.backuppath()
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
- absorig = scmutil.origpath(self.ui, repo, absf)
+ absorig = scmutil.backuppath(self.ui, repo, f)
self.ui.note(_('saving current version of %s as %s\n') %
- (f, os.path.relpath(absorig)))
+ (f, os.path.relpath(absorig, start=repo.root)))
Why printing a repo-relative path instead of cwd-relative one?