emacs-devel
[Top][All Lists]
Advanced

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

Re: bazaar: "unable to obtain lock"


From: Robert J. Chassell
Subject: Re: bazaar: "unable to obtain lock"
Date: Thu, 31 Dec 2009 19:19:05 -0500

    I wrote:

        Next I am going to bootstrap it with the
        changes I got with a `bzr pull'.

        How do I avoid a shell and do it all in Emacs?

Karl Fogel <address@hidden> wrote:

    Oops, I'm not quite sure what the question is -- what's the "it" here?
    Compile Emacs?  Update your local sources using bzr?  

Both, using Emacs scripts such as these two (for the emacs/trunk/
directory):

    (progn
      (cd "/usr/local/src/emacs/trunk")
      (compile
       "time make -k -C lisp autoloads \
        EMACS=/usr/local/src/emacs/trunk/src/emacs && \
        cd lisp && \
        time make EMACS=/usr/local/src/emacs/trunk/src/emacs && \
        cd /usr/local/src/emacs/trunk && \
        time make info html"))

;; and

    (progn
      (cd "/usr/local/src/emacs/trunk/")
      (compile "time make -k"))

(This succeeded this morning, as did the bootstrap which I did in a BASH
shell yesterday.)

I want to update my Emacs each day and build the current Emacs.  Perhaps
the updating and the building will be in different directories, perhaps
not.  (I hope through use to continue testing Emacs every day.)

Also, I want to find out how to shift from the current emacs/trunk/
directory to an emacs/ directory without having to download again and
with the trunk/ and quickfixes/ directory under the emacs/ directory.
My .emacs file and my Emacs scripts have many instances of
"/usr/local/src/emacs/" in them; besides, the emacs/ directory is a good
place to put the sources and compiled files of Emacs.  

Óscar Fuentes suggested using `bzr init-repo <name-of-new-directory>'
and branch rather than the `cp -R' that I had been using before.  (He
also suggested using bind, which I have already done in the
"/usr/local/src/emacs/trunk/" directory.)  Suggesting I use init-repo
is good.  I stay on my own machine.  I would thank James Cloos, too,
except the emacs/src/ directory contains C code.  I really want to
move most of the Emacs code into and below the "/usr/local/src/emacs/"
directory with the C code in the emacs/src/ directory and the Emacs
Lisp in the emacs/lisp/ directory.

The emacs/src/ directory should be directly below the emacs/ directory
and I should rebuild the emacs executable in the emacs/src directory
every day.  The lisp/ directory should be directly below the emacs/
directory, too, not separated, as it is now, by the trunk/ directory.
In addition, I would like the trunk/ and quickfixes/ directories to be
directly below the emacs/ directory as they are now, but that is not so
important.  I do not care where the .bzr/ directories are, nor where I
build.  But the main sources (and executables) should be in and under
the "/usr/local/src/emacs/" directory.  That makes sense when you speak
of the `emacs/lisp/mail' directory.  Otherwise, all of us will have to
change our language to say the `emacs/trunk/lisp/mail' directory.
Doubtless among all of you, I will figure this out.  At the moment, I
don't dare use cp or mv.  Perhaps I should use init-repo and branch to
make a copy and update instead of pull.  Please tell me what to do.

Thank you.

-- 
    Robert J. Chassell                          
    address@hidden                                 address@hidden
    http://www.rattlesnake.com                  http://www.teak.cc




reply via email to

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