Closed wRAR closed 12 years ago
You could override the user configuration temporarily:
hg --config extensions.convert= convert . .git/hgcheckout
Would there be a problem there?
I'm not that familiar with mercurial to point out any problems if they exist so I don't have objections to this.
Neither am I... I'd guess git-hg users are mostly git people. :) Anyway, I've tacked this onto my pending pull request.
close as part of a previous pull request
If the convert mercurial extension is not enabled (and it is not enabled by default),
git hg push
(which callshg convert
) will fail with a messagehg: unknown command 'convert'
. As changing the user configuration is not an option, at least some user-friendly messages could be added (if it is possible to detect whether the extension is enabled).