Mercurial > hgsubversion
comparison tests/fixtures/empty-log-message.svndump @ 777:60948939555d
clone: pass on the repository instance rather than the string given
Previously, cloning a Mercurial repository that required
authentication would prompt for authentication twice. This is because
hgclonewrapper() first created a repository instance, but didn't pass
it on. hg.close() would then create another instance, and since
Mercurial doesn't cache authentication credentials across instances,
this would cause a second credential prompt.
This change could have unfortunate side effects in case of other
extensions wanting to modify the source passed to clone. This seems
like a somewhat unlikely scenario. I'll think about a possible way to
avoid all this hackery...
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Tue, 14 Dec 2010 12:09:27 +0100 |
parents | cc1d4aa3ba41 |
children |
comparison
equal
deleted
inserted
replaced
776:f025d00bfc4a | 777:60948939555d |
---|