Mercurial 1.7.1 released!

Jonny Dee jonny.dee.1 at googlemail.com
Wed Nov 24 06:01:46 CST 2010


Hi Matt,

- Zitierten Text ausblenden -

> > > >         pushing/
> > > >         > pulling bookmarks over SSH still doesn't work with 1.7.1.
> > > >         Invoking "hg
> > > >         > pull -B" results in "no changed bookmarks found", even if
> > > >         the remote
> > > >         > repository has bookmarks while the local clone doesn't.
> I've
> > > >         made sure
> > > >         > the remote machine (Ubuntu Linux) as well as my local
> > > >         machine (Windows
> > > >         > XP) have 1.7.1 installed with the "bookmarks" extension
> > > >         activated.
> > >
> > > >         The bugfix in 1.7.1 only affects push on HTTP. All other
> > > >         combinations of
> > > >         in/out/push/pull with http/ssh/local are tested in the test
> > > >         suite.
> > >
> > > >         Please try the following test:
> > >
> > > >          $ hg debugpushkey ssh://yourserver/your/repo namespaces
> > > >          namespaces
> > > >          bookmarks
> > >
> > > >         If you get back anything from this command, the protocol
> > > >         portion of
> > > >         bookmarks is working perfectly. But if you get back just
> > > >         'namespaces',
> > > >         that means bookmarks are NOT properly enabled. That is likely
> > > >         a
> > > >         configuration problem due to trust:
> > >
> > > >        http://mercurial.selenic.com/wiki/Trust
> > >
> > > > I've just executed the command you suggested. And, indeed, I do only
> > > > get back just 'namespaces'. However, there seems to be no issue
> > > > regarding 'Trust'. I've made sure the file ownerships of the "server
> > > > side" repository are correct.
> > >
> > > Correct as in owned by you?
> >
> > I've narrowed down the problem. We use "mercurial-server" software for
> > shared SSH access. And the issue with not being able to pull bookmarks
> > only arises if I access a repository through this software. As soon as
> > I access this repository without it there is no problem anymore. So it
> > seems like this doesn't have anything to do with Mercurial itself.
>
> It's probably still a trust issue. Make sure you -really- understand the
> above wiki page and what Unix user is involved in your mercurial-server
> config.
>

I don't think so. At least, it's not an obvious trust issue. I've created a
[trusted] section in the Mercurial config file and I've added all groupsand
users that might be somehow involved with remote SSH access (although I
think the only user which is involved is the user I use to create the SSH
connection) and I still don't get the expected result. Note that I don't
have any 'Trust' issues using other Mercurial commands. Everything works
fine, except the bookmarks thing. I believe the indirection introduced by
'mercurial-server' is the cause of my problem. Anyway, maybe sometime I will
have enough time to investigate this further.

Thanks a lot for help,
Jonny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20101124/bf48b3b2/attachment.htm>


More information about the Mercurial mailing list