Comments
Patch
@@ -1772,7 +1772,7 @@ def config(ui, repo, *values, **opts):
if opts.get('local'):
if not repo:
raise error.Abort(_("can't use --local outside a repository"))
- paths = [repo.join('hgrc')]
+ paths = [repo.vfs.join('hgrc')]
elif opts.get('global'):
paths = scmutil.systemrcpath()
else:
@@ -2383,7 +2383,7 @@ def _dograft(ui, repo, *revs, **opts):
# remove state when we complete successfully
if not opts.get('dry_run'):
- util.unlinkpath(repo.join('graftstate'), ignoremissing=True)
+ util.unlinkpath(repo.vfs.join('graftstate'), ignoremissing=True)
return 0