[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making the tarball with bzr data
From: |
Jason Earl |
Subject: |
Re: Making the tarball with bzr data |
Date: |
Mon, 30 Nov 2009 11:52:27 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Lennart Borgman <address@hidden> writes:
> On Tue, Nov 24, 2009 at 3:56 AM, Óscar Fuentes <address@hidden> wrote:
>> Stefan Monnier <address@hidden> writes:
>>
>>> But the hard part is to integrate those 3 starting points with the
>>> "wget+untar" approach.
>>
>> There is a very simple & safe method for creating a tarball that just
>> requires untarring at the other end.
>>
>> First, create a bound branch of `trunk' on a shared repository [1]:
>>
>> bzr init-repo emacs-repo
>> bzr checkout http://bzr.savannah.gnu.org/r/emacs/trunk
>>
>> Now, the process of creating the tarball is:
>>
>> cd emacs-repo/trunk
>> bzr update
>> cd ../..
>> tar the emacs-repo directory
>>
>> The user just needs to download and untar to get a shared repository
>> containing `trunk' with read-only access to the GNU repository. A
>> `bzr update' is enough to get the latest changes and thus have a
>> mirror of the branch on the GNU repository.
>>
>> If the user is an emacs hacker with write access rights, he does:
>>
>> cd emacs-repo/trunk
>> bzr unbind
>> bzr bind sftp://bzr.savannah.gnu.org/r/emacs/trunk
>>
>> And he is ready to start committing. [2]
>>
>> If the user needs access to other branches, obtaining them with
>> bazaar just requires a few minutes, as only those revisions which are
>> not common with `trunk' will be downloaded.
>>
>> If the user prefers other workflows, he has everything he needs, as
>> he can create branches from the mirror bound branch or unbind the
>> mirror branch, so this method is not restricted to the "bound work
>> branch" workflow.
>
>
> If I already have all the Emacs files locally (possibly with some
> changes) how do I do to make this a bazaar thing? (This must be the
> most common situation, or?)
If you are primarily interested in tracking your own changes, then
simply doing a:
bzr init
in the root of the directory will get you started. However, this makes
a brand new branch that is completely unrelated to the mainline Emacs
branch. Merging your branch with the main Emacs branch would be far
more difficult than it needs to be, and so would getting new
improvements from the mainline Emacs branch.
So, that's probably not what you want to do.
What you probably want to do is to migrate the changes you have made to
Emacs into a new branch that can be used both to track changes made
upstream to Emacs and (hopefully) to allow you to develop new changes
that can be applied upstream.
The way to do that is to follow the instructions at:
http://www.emacswiki.org/emacs/BzrForEmacsDevs
to create a repository along with a "trunk" branch that tracks Emacs'
mainline development. Then create a second branch (called, for example,
lennart). Finally, use a tool like rsync to copy your changes into the
lennart branch. You can then do:
bzr status
to see what files have changed and:
bzr diff
to generate a diff of what has changed. Once you are satisfied that
your changes are the working tree for your shiny new branch.
bzr commit -m "Importing my changes into a new bzr branch"
will commit your changes to your local branch.
Hopefully this was helpful.
Jason
- Re: bzr repository ready?, (continued)
- Re: bzr repository ready?, Eli Zaretskii, 2009/11/24
- Re: bzr repository ready?, Stephen J. Turnbull, 2009/11/24
- Re: bzr repository ready?, Eli Zaretskii, 2009/11/24
- Re: bzr repository ready?, Stephen J. Turnbull, 2009/11/24
- Re: bzr repository ready?, Eli Zaretskii, 2009/11/24
- Re: bzr repository ready?, Stephen J. Turnbull, 2009/11/25
- Re: bzr repository ready?, Richard Stallman, 2009/11/25
- Making the tarball with bzr data (was: bzr repository ready?), Óscar Fuentes, 2009/11/23
- Re: Making the tarball with bzr data (was: bzr repository ready?), Lennart Borgman, 2009/11/30
- Re: Making the tarball with bzr data, Óscar Fuentes, 2009/11/30
- Re: Making the tarball with bzr data,
Jason Earl <=
- Re: bzr repository ready?, Eli Zaretskii, 2009/11/23
- Re: bzr repository ready?, Stefan Monnier, 2009/11/23
- Re: bzr repository ready?, Eli Zaretskii, 2009/11/23
- Re: bzr repository ready?, Eli Zaretskii, 2009/11/23
- Re: bzr repository ready?, Chong Yidong, 2009/11/18
- Re: bzr repository ready?, Stefan Monnier, 2009/11/18
- Re: bzr repository ready?, Andreas Schwab, 2009/11/18
- Re: bzr repository ready?, Ken Raeburn, 2009/11/19
- Re: bzr repository ready?, Karl Fogel, 2009/11/19
- Re: bzr repository ready?, Eli Zaretskii, 2009/11/20