unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Error while checking out the elpa branch
@ 2012-11-12 11:30 Tassilo Horn
  2012-11-12 14:41 ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Tassilo Horn @ 2012-11-12 11:30 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-01-09 21:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-12 11:30 Error while checking out the elpa branch Tassilo Horn
2012-11-12 14:41 ` 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

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).