hydra-users
[Top][All Lists]
Advanced

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

Re: Emacs builds failing to pull changes


From: Glenn Morris
Subject: Re: Emacs builds failing to pull changes
Date: Thu, 06 Jun 2013 16:08:31 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Rob Vermaas wrote:

> The commands that are (or have been) executed:
>
> Initially:
> bzr branch <branch-url>
> /home/hydra/data/scm/bzr/4e01131767709f51050e60a894f06249359df8336adde794c0dfbdb72a0e1661
>
> On every evaluation (with
> /home/hydra/data/scm/bzr/4e01131767709f51050e60a894f06249359df8336adde794c0dfbdb72a0e1661
> as current directory):
> bzr pull
>
> Currently the contents of that dir are:
>
> address@hidden:~/data/scm/bzr/4e01131767709f51050e60a894f06249359df8336adde794c0dfbdb72a0e1661]$
> ls -la
> total 12
> drwxr-xr-x 3 hydra nogroup 4096 Jun  3 10:08 .
> drwxr-xr-x 5 hydra nogroup 4096 Jun  3 10:08 ..
> drwxr-xr-x 4 hydra nogroup 4096 Jun  3 10:08 .bzr

That's weird. The actual files are missing. Besides the .bzr directory,
there should be the contents of the branch.

For example:

bzr branch bzr://bzr.savannah.gnu.org/emacs/bzrtest foodir
cd foodir
ls -la

total 24
drwxr-xr-x.  3 rgm rgm  4096 Jun  6 12:56 .
drwxrwxrwt. 35 rgm rgm 12288 Jun  6 12:57 ..
drwxr-xr-x.  6 rgm rgm  4096 Jun  6 12:56 .bzr
-rw-r--r--.  1 rgm rgm   397 Jun  6 12:56 README

Here, "README" is the only file in the branch.
Normally, all the Emacs files would be there.

Unless you used "bzr branch --no-tree" initially?
But then "bzr pull" should (and does) work fine.


The only way I know to get the "location is a repository" error is with
a shared repository. A shared repository is a good idea when dealing
with more than one Emacs branch, since the branches share many
revisions.

mkdir emacs-repo
cd emacs-repo
bzr init-repo
bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk
## Now fetching another branch has to do less work than if you used
## an entirely separate directory for it.
bzr branch bzr://bzr.savannah.gnu.org/emacs/emacs-24

You would get the "location is a repository" error if you ran "bzr pull"
in "emacs-repo" rather than "trunk" or "emacs-24".


If this just started happening recently, probably the Savannah glitch
has somehow messed up your copy. I have no idea _how_ that would happen
though...



reply via email to

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