unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: emacs-devel@gnu.org
Subject: Error while checking out the elpa branch
Date: Mon, 12 Nov 2012 12:30:23 +0100	[thread overview]
Message-ID: <871ufzxdm8.fsf@thinkpad.tsdh.de> (raw)

Hi all,

[I've started this mail as a question, but while writing I got aware
that the problem isn't my fault.  So no questions here, just "FYI".]

I've just wanted to setup the emacs dev workspace on some machine as
documented on http://emacswiki.org/emacs/BzrForEmacsDevs.  When checking
out the elpa branch, I got an assertion error in bzr.

--8<---------------cut here---------------start------------->8---
% bzr init-repo emacs
Shared repository with trees (format: 2a)
Location:
  shared repository: emacs
% cd emacs
% bzr branch bzr+ssh://tsdh@bzr.savannah.gnu.org/emacs/trunk trunk
Branched 110872 revisions.
% bzr branch bzr+ssh://tsdh@bzr.savannah.gnu.org/emacs/elpa elpa
bzr: ERROR: exceptions.AssertionError: ('not present: %r', StaticTuple('', '', 'TREE_ROOT'))

Traceback (most recent call last): ...
--8<---------------cut here---------------end--------------->8---

It turns out, the issue is known for more than a year.

  https://bugs.launchpad.net/bzr/+bug/830947

There's a patch available since a few months at

  http://bazaar.launchpad.net/~rrw/bzr/830947-tree-root-exception/revision/6538

Using that bzr version, I can get the elpa branch without errors.

The contents of the emacs/elpa directory seem to be identical between
the one checked out with bzr 2.5.1 with error, and the version checked
out with the bzr/830947-tree-root-exception branch.  However, there are
differences in emacs/.bzr/.

I've asked in the bug report if it's safe to work on the elpa branch
using bzr 2.5.1 once you've checked it out initially using the
830947-tree-root-exception branch.  (Maybe it's also ok to just ignore
the error.  Who knows...)

Oh, and Stefan also reported this bug in February:

  https://bugs.launchpad.net/bzr/+bug/937101
  Status: confirmed, Importance: Low

Low importance, seriously?  Am I a bit too sensitive in that this
doesn't really boost my trust in bzr?

I've added a link to the older report as Stefan's report seems to be a
duplicate.  And the older one is of High Importance with a fix (which
might or might not be correct), so hopefully it'll find it's way into
the mainline anytime soon.

Bye,
Tassilo



             reply	other threads:[~2012-11-12 11:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-12 11:30 Tassilo Horn [this message]
2012-11-12 14:41 ` Error while checking out the elpa branch Stefan Monnier
2012-11-12 17:59   ` Juanma Barranquero
2012-11-12 18:22     ` Eli Zaretskii
2012-12-25  0:02       ` Dmitry Gutov
2012-12-25  3:47         ` Eli Zaretskii
2013-01-09 16:23           ` Stefan Monnier
2013-01-09 18:03             ` joakim
2013-01-09 21:26               ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871ufzxdm8.fsf@thinkpad.tsdh.de \
    --to=tsdh@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).