From: Eli Zaretskii <eliz@gnu.org>
To: "Óscar Fuentes" <ofv@wanadoo.es>
Cc: emacs-devel@gnu.org
Subject: Re: VC and bzr.
Date: Fri, 23 Apr 2010 11:29:53 +0300 [thread overview]
Message-ID: <83zl0u3726.fsf@gnu.org> (raw)
In-Reply-To: <87d3xq52u6.fsf@telefonica.net>
> From: Óscar Fuentes <ofv@wanadoo.es>
> Date: Fri, 23 Apr 2010 04:18:09 +0200
>
> Oh, and I think that support for asyncrhonous commits on VC is good to
> have, but with bzr sometimes taking *minutes* for a commit, special
> situations must be considered, like the user editing and saving files
> while the commit is on the way, or trying to commit something while the
> previous one is not finished yet. It is not unlikely that some of those
> scenarios may end with some breakage.
It is broken already. As long as bzr is running, it locks the
.bzr/checkout/dirstate file, and visiting any file under bzr during
this time displays an error message because "bzr status" barfs due to
the locking. This is for some reason more grave on MS-Windows,
probably because the way bzr opens files doesn't allow for sharing
with other programs.
And, btw, the speed of bzr operations doesn't matter much, because
even seconds would cause these problems with a significant
probability.
IOW, maybe bzr is good enough to use for Emacs development, but not
yet good enough to use it from within Emacs. Someone should break the
news to Bazaar developers.
Until and unless this is fixed, I think we should stop using "bzr
status" for accessing VC-related information when we do file I/O. We
should implement some other way of accessing that info, that doesn't
involve running bzr on each file op. Or maybe we should access it
lazily (it's not that seeing the up-to-date revno in the mode line is
such a crucial feature), or somehow access it en masse, then cache it.
next prev parent reply other threads:[~2010-04-23 8:29 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-21 18:37 VC and bzr Jan Djärv
2010-04-21 20:38 ` Dan Nicolaescu
2010-04-21 22:19 ` Andreas Schwab
2010-04-22 5:26 ` Jan Djärv
2010-04-22 8:56 ` Andreas Schwab
2010-04-22 9:45 ` Jan D.
2010-04-22 10:26 ` Andreas Schwab
2010-04-22 11:56 ` Jan D.
2010-04-22 11:58 ` Jan D.
2010-04-22 13:24 ` Andreas Schwab
2010-04-22 13:21 ` Andreas Schwab
2010-04-22 13:32 ` Óscar Fuentes
2010-04-22 13:51 ` Andreas Schwab
2010-04-22 14:26 ` Óscar Fuentes
2010-04-22 14:38 ` Andreas Schwab
2010-04-22 14:58 ` Óscar Fuentes
2010-04-22 16:06 ` Andreas Schwab
2010-04-22 16:52 ` Óscar Fuentes
2010-04-22 18:58 ` Eli Zaretskii
2010-04-22 19:31 ` Óscar Fuentes
2010-04-22 20:54 ` Eli Zaretskii
2010-04-22 21:34 ` Stefan Monnier
2010-04-22 22:18 ` Óscar Fuentes
2010-04-23 1:34 ` Stefan Monnier
2010-04-23 2:18 ` Óscar Fuentes
2010-04-23 8:29 ` Eli Zaretskii [this message]
2010-04-23 14:32 ` Stefan Monnier
2010-04-23 14:43 ` Óscar Fuentes
2010-04-23 15:36 ` Eli Zaretskii
2010-04-23 16:54 ` Davis Herring
2010-04-23 21:34 ` Dan Nicolaescu
2010-04-25 20:18 ` Davis Herring
2010-04-25 21:20 ` Dan Nicolaescu
2010-04-23 20:31 ` Óscar Fuentes
2010-04-23 20:43 ` Eli Zaretskii
2010-04-23 21:13 ` Dan Nicolaescu
2010-04-23 21:16 ` Óscar Fuentes
2010-04-23 22:21 ` Juanma Barranquero
2010-04-22 19:10 ` Andreas Schwab
2010-04-22 19:47 ` Óscar Fuentes
2010-04-22 21:40 ` Andreas Schwab
2010-04-22 14:18 ` Jan D.
2010-04-22 14:39 ` Andreas Schwab
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=83zl0u3726.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=ofv@wanadoo.es \
/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.