Closed ijstokes closed 11 years ago
This should do the trick:
--- a/contrib/remote-helpers/git-remote-hg
+++ b/contrib/remote-helpers/git-remote-hg
@@ -381,7 +381,7 @@ def get_repo(url, alias):
die('Repository error')
if not os.path.exists(dirname):
- os.mkdir(dirname)
+ os.makedirs(dirname)
local_path = os.path.join(dirname, 'clone')
if not os.path.exists(local_path):
Yeap. This is fixed.
Also posted to WordPress blog:
I tried to do a remote add with a fetch and got the following error:
A few variations such as just adding the remote then doing a separate fetch didn’t work either. I am able to clone the mercurial repo, however. Ultimately I’m trying to add a remote to an existing repo to then insert it as a subtree dependency. Suggestions as to how I could achieve this would be appreciated!
TIA
FWIW, the next things I'm going to try and execute are: