emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs Bazaar repository


From: Jonathan Lange
Subject: Re: Emacs Bazaar repository
Date: Thu, 13 Mar 2008 15:30:02 +1100

On Thu, Mar 13, 2008 at 3:15 PM, Jonathan Lange <address@hidden> wrote:
>
> On Thu, Mar 13, 2008 at 3:09 PM, Karl Fogel <address@hidden> wrote:
>  > Jason Earl <address@hidden> writes:
>  >
>  > > bzr clone http://bzr.notengoamigos.org/emacs/trunk/
>  >
>  >  By the way, strongly suggest a dest name after that:
>  >
>  >    bzr clone http://bzr.notengoamigos.org/emacs/trunk/ emacs-bzr
>  >
>  >  or something.  Probably no one wants their local clone directory to be
>  >  named "trunk" :-).
>  >
>
>  Actually, it's probably a good idea to do make a shared repository
>  called 'emacs-bzr' and use the original clone command inside that. So,
>
>   bzr init-repo emacs-bzr
>   cd emacs-bzr
>
>   bzr clone http://bzr.notengoamigos.org/emacs/trunk/
>
>  That way, Bazaar will share revisions between branches of Emacs,
>  making it faster to clone other branches.
>

Which reminds me. An even better way to do the initial download is this:

 # Get the tarball
 $ wget http://bzr.notengoamigos.org/emacs.tar.gz
 $ tar xzf emacs.tar.gz

 # Make a repo
 $ bzr init-repo emacs-bzr

 # Seed it with the downloaded branch
 $ cd emacs-bzr
 $ bzr branch ../emacs trunk

(Assuming that the tarball extracts to a directory called 'emacs/').

 # Get the latest changes
 $ cd trunk
 $ bzr pull --remember http://bzr.notengoamigos.org/emacs/trunk/


After you've done this, you'll only need to do 'bzr pull' in the trunk
directory to get the latest changes, and doing 'bzr branch
http://bzr.notengoamigos.org/emacs/branches/<foo>' should be much
faster.

jml




reply via email to

[Prev in Thread] Current Thread [Next in Thread]