Google Code is now using Mercurial

8 views
Skip to first unread message

Chris Adams

unread,
Jul 8, 2009, 5:36:34 PM7/8/09
to pymac...@googlegroups.com
Semi-delurking after moving:

The older Subversion repository hasn't gone away but I intend to use
the native Mercurial support now since it's so much better for
distributed development and should be rather easier to work with than
git. The main benefit here will be for anyone who wants to work with a
branch for a long period of time without having to manually resync or
email me patches, and it's a good bit faster as well. There's also a
huge benefit in that it can work entirely offline - handy for me as
I'm currently waiting for the DSL installer at home sometime between
next week and the end of time...

There's a good introduction on the official Mercurial website:

http://mercurial.selenic.com/wiki/Tutorial
http://mercurial.selenic.com/wiki/UnderstandingMercurial

http://code.google.com/p/pymacadmin/source/checkout has the
instructions for getting a copy using Mercurial. It should be easy to
get running on OS X:

sudo -H easy_install mercurial
hg clone http://pymacadmin.googlecode.com/hg pymacadmin

Once you've done that, you can start working:
cd pymacadmin
export PYTHONPATH=`pwd`/lib
pydoc PyMacAdmin.Security
etc.

If you're already using BitBucket.org or want to take advantage of
their patch management interface, I've pushed a copy out here - one of
the nice things about a DVCS is that mirroring was a trivial "hg push
ssh://h...@bitbucket.org/acdha/pymacadmin/":

http://bitbucket.org/acdha/pymacadmin/

If you're intending to contribute to this or any other project which
uses Mercurial and aren't pushing changes using SSH, you'll probably
want to install hgkeychain (http://bitbucket.org/schwa/hgkeychain/) to
stash Mercurial usernames and passwords in your Keychain - it should
also be as simple as easy_install hgkeychain and making sure ~/.hgrc
has this:

[extensions]
hgkeychain=

Chris

Jaharmi

unread,
Jul 18, 2009, 8:46:47 PM7/18/09
to PyMacAdmin
For installing Mercurial, I'm happy with the semi-official installer
package that's linked from the Mercurial site.

I've posted a few notes I've gleaned from learning Mercurial, which
may be helpful (even though a bunch of it is about managing Drupal
installs with Hg):

<http://bit.ly/loJIC>

I've gotten a few tips from the Mercurial mailing list but it's
relatively high traffic and often above my skill/knowledge level.

One tip I did pick up was about the "fetch" extension. I highly
recommend enabling it, simply because it saves steps when pulling from
one repo to another.

- Jeremy

On Jul 8, 5:36 pm, Chris Adams <ch...@improbable.org> wrote:
> Semi-delurking after moving:
>
> The older Subversion repository hasn't gone away but I intend to use
> the native Mercurial support now since it's so much better for
> distributed development and should be rather easier to work with than
> git. The main benefit here will be for anyone who wants to work with a
> branch for a long period of time without having to manually resync or
> email me patches, and it's a good bit faster as well. There's also a
> huge benefit in that it can work entirely offline - handy for me as
> I'm currently waiting for the DSL installer at home sometime between
> next week and the end of time...
>
> There's a good introduction on the official Mercurial website:
>
> http://mercurial.selenic.com/wiki/Tutorialhttp://mercurial.selenic.com/wiki/UnderstandingMercurial
>
> http://code.google.com/p/pymacadmin/source/checkouthas the
> instructions for getting a copy using Mercurial. It should be easy to
> get running on OS X:
>
> sudo -H easy_install mercurial
> hg clonehttp://pymacadmin.googlecode.com/hgpymacadmin
>
> Once you've done that, you can start working:
> cd pymacadmin
> export PYTHONPATH=`pwd`/lib
> pydoc PyMacAdmin.Security
> etc.
>
> If you're already using BitBucket.org or want to take advantage of
> their patch management interface, I've pushed a copy out here - one of
> the nice things about a DVCS is that mirroring was a trivial "hg push
> ssh:/...@bitbucket.org/acdha/pymacadmin/":
Reply all
Reply to author
Forward
0 new messages