[hg-import bug] operation not supported over http

Robert Collins robertc at robertcollins.net
Thu Jun 15 15:16:29 BST 2006


On Thu, 2006-06-15 at 08:37 -0500, John Arbash Meinel wrote:
> Robert Collins wrote:
> > On Wed, 2006-06-14 at 22:01 -0500, John Arbash Meinel wrote:
> >>
> >> It seems like the plugin needs to trap the Abort exception. It seems
> >> like we may be locking too strongly for 'lock_read()'. Probably
> >> lock_read() should not call 'lock()' at all.
> >> I don't know what guarantees hg gives for readonly operations, but
> >> since 
> > 
> > for hg, 'lock' is lock_read, wlock is lock_write.
> > 
> > Yes, we should catch that.
> > 
> > Rob
> 
> So what is a readonly lock for hg, such that they can't create one over
> http? Do they actually create the symlink? (Since as far as I can tell
> that is the basic way they create a lock).

hg do not have a consistent api for their repositories - the local repo
api and the http repo api are disjoint.

beyond that, I dont know.

-Rob.
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060616/52fa2988/attachment.pgp 


More information about the bazaar mailing list