all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thomas Christensen <thomasc@thomaschristensen.org>
To: emacs-devel@gnu.org
Subject: Re: Bazaar branch of Emacs.app
Date: Mon, 14 Apr 2008 09:40:57 +0200	[thread overview]
Message-ID: <m2lk3g994m.fsf@thomaschristensen.org> (raw)
In-Reply-To: jwvlk3lo27r.fsf-monnier+emacs@gnu.org

Hi emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> I've setup a Bazaar branch (based on Jason's mirror) of Emacs.app.
> Get it from
>
>    sftp://arch.sv.gnu.org/archives/emacs/bzr/emacs.app
>    http://arch.sv.gnu.org/archives/emacs/bzr/emacs.app
>
> I recommend you use the "bzr.dev" version of Bzr: it's not blazingly
> fast yet, but it's better than 1.3 for some things.
>
> I haven't yet been able to build it on my GNU/Linux system: config.h
> says that HAVE_NS is undefined, so it looks like there's something
> broken in the configuration scripts.  Incidentally, the configuration
> needs to be integrated with the ./configure script (currently you're
> expected  to run nextstep/compile which then runs `configure').
>
> I encourage you to take a look at it, fix it, and when you find
> problems, to add them to nextstep/FOR_RELEASE.

If anyone want to try out the http transport, it will likely fail like
this:

    $ bzr clone http://arch.sv.gnu.org/archives/emacs/bzr/emacs.app
    bzr: ERROR: Transport error: Server refuses to fullfil the request

This is due to bzr trying to get a file named `smart' which isn't
there.  This is OK for bzr if the server told it 404, but the server
at savannah says 403, and bzr stops.

The following patch against bzr.dev will fix it (it works, but I am no
bzr expert).

		Thomas

=== modified file 'bzrlib/transport/http/_urllib2_wrappers.py'
--- bzrlib/transport/http/_urllib2_wrappers.py	2008-03-17 19:53:19 +0000
+++ bzrlib/transport/http/_urllib2_wrappers.py	2008-04-13 00:52:26 +0000
@@ -1305,6 +1305,7 @@
 
     accepted_errors = [200, # Ok
                        206, # Partial content
+                       403, # Not found (or treat it as such for broken setups)
                        404, # Not found
                        ]
     """The error codes the caller will handle.






  parent reply	other threads:[~2008-04-14  7:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-10 21:15 Bazaar branch of Emacs.app Stefan Monnier
2008-04-11  4:49 ` Dan Nicolaescu
2008-04-14  7:40 ` Thomas Christensen [this message]
2008-04-14 14:01   ` Stefan Monnier
2008-04-14 16:13     ` Thomas Christensen
2008-04-14 17:50   ` Dan Nicolaescu
2008-04-14 18:08     ` Thomas Christensen
2008-04-14 18:15       ` Dan Nicolaescu
2008-04-14 18:28     ` Thomas Christensen
2008-04-14 18:13 ` CHENG Gao

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

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

  git send-email \
    --in-reply-to=m2lk3g994m.fsf@thomaschristensen.org \
    --to=thomasc@thomaschristensen.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.