hg-git plugin, problem with local cloning: bookmarks
Sean Farley
sean at farley.io
Thu Sep 1 22:17:01 UTC 2016
Uwe Brauer <oub at mat.ucm.es> writes:
> > Simon King <simon at simonking.org.uk> writes:
>
> > I've also experimented with doing this in hg-git:
>
> > https://bitbucket.org/seanfarley/hg-git/commits/branch/namespaces
>
> Thanks but how I suppose to install that?
>
> I installed hg-git on my kubuntu 14.04 Distribution like this:
>
> Install easy_install via
>
> sudo apt-get install python-setuptools
> sudo apt-get install python-dev
> sudo easy_install hg-git
>
> -------------
>
> So I did the following
>
>
> hg clone https://kalthad@bitbucket.org/seanfarley/hg-git
>
> hg update namespaces
>
>
>
> And then simply
>
> In my .hgrc file
>
> [extensions]
> hggit = [path-to]/hg-git/hggit
>
> I did this and it seems to work in the sense that the hg-git plugin from
> bitbucket is used, but the behavior did not change, bookmarks are not
> pulled locally.
Remote bookmarks and my patches on top of hg-git only add "remote
branches" (git term) to the equivalent namespace in hg. This change
actually makes it *not* checkout out bookmarks by default because almost
certainly no body wants that at first. For example, the git repo I'm
using has 'origin/smf/clonebundle' so when I pull from 'default':
$ hg pull
$ hg book --remote
...
default/smf/clonebundle 2695:7fb1893ddc1b
You should also notice that phases is more-or-less supported.
More information about the Mercurial
mailing list