unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Alan Mackenzie <acm@muc.de>
Cc: Karl Fogel <kfogel@red-bean.com>, emacs-devel@gnu.org
Subject: Re: What have the Romans done for us?  (Bazaar)
Date: Thu, 08 Apr 2010 03:47:59 +0900	[thread overview]
Message-ID: <871verp09s.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <20100406143144.GB3551@muc.de>

Alan Mackenzie writes:

 > It seems the time taken is only weakly dependent on what you're logging
 > over.  I was just getting logs for a single file,
 > .../lisp/progmodes/cc-engine.el.

As Eli points out, you need to learn (at least a little bit) how to
"think Bazaar".  In CVS getting logs for a single file is faster than
for the whole project because you only get the logs you want, from one
,v file.  In Bazaar, getting logs for a single file is more costly
than getting them for the whole project because you have to get all
the logs, then filter out the uninteresting ones.

This is because you do not commit changes to a file in Bazaar (or any
of the other dVCSes); you commit all the changes to the tree.  There's
only one log for all the history of the branch.

Also, "bzr log -n0" is *much* slower than "bzr log" because the former
needs[1] to compute the whole history DAG to decide where to put each
commit before displaying them, while the latter just chases the
principal parent chain, and can start displaying log entries
immediately.

 > This vagueness is prevalent over much or all of 'bzr help <cmd>'.
 > Is it too much to expect these man pages (in effect) to be precise?

Currently, yes.  The developers are aware that the docs have some
problems, and some progress is being made.

 > > >So, yes, bzr is wonderful, because it's a DISTRIBUTED VCS, and
 > > >distributed VCSs are Good Things.  Would somebody please remind me why?

Sure.  The direct benefit is that you can work on a branch with little
effort, temporarily isolating the changes you're working on from
interference with others' work.  You can choose when to pull upstream
changes into your branch, and which changes to accept.  In CVS (or SVN
up to 1.4 or so), pulling multiple times will usually result in
annoying, unnecessary merge conflicts.  You can also choose to pull
from multiple upstreams (which all must be branches off the same
mainstream, of course), and integrate those changes.  It is this last
integrative function that is most characteristic of dVCS (SVN still
can't do this very well, and not at all across separately administered
mirrors).

The indirect benefit is a substantial savings in time and frustration
for developers who enjoy the direct benefits, and that means more
rapid delivery of new code to all users, including you.

 > My question wasn't rhetorical.  ;-)  I'd like having local history if I
 > could access it in less than historical time,

That way of stating it is quite rhetorical, though.


Footnotes: 
[1]  "Needs" in the current implementation.  It's possible to improve
this, and some work is being done at the moment.





  parent reply	other threads:[~2010-04-07 18:47 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-05 14:56 What have the Romans done for us? (Bazaar) Alan Mackenzie
2010-04-05 15:32 ` Karl Fogel
2010-04-05 16:08   ` Andreas Schwab
2010-04-05 20:54     ` Karl Fogel
2010-04-05 21:11       ` Andreas Schwab
2010-04-05 21:19         ` Andreas Schwab
2010-04-05 16:40   ` Eli Zaretskii
2010-04-05 19:44     ` Stefan Monnier
2010-04-05 22:01       ` Eli Zaretskii
2010-04-05 20:56     ` Karl Fogel
2010-04-05 19:39   ` Óscar Fuentes
2010-04-06 14:31   ` Alan Mackenzie
2010-04-06 15:24     ` Andreas Schwab
2010-04-06 17:02     ` Chad Brown
2010-04-06 19:50       ` Juri Linkov
2010-04-07  6:33     ` Eli Zaretskii
2010-04-07 18:47     ` Stephen J. Turnbull [this message]
2010-04-05 15:34 ` Eli Zaretskii
2010-04-05 15:43   ` Andreas Schwab
2010-04-05 16:42     ` Eli Zaretskii
2010-04-05 19:52     ` Stefan Monnier
2010-04-06 10:43     ` Richard Stallman
2010-04-07 18:11       ` Stephen J. Turnbull
2010-04-05 16:01 ` Chad Brown
2010-04-05 19:56   ` Stefan Monnier
2010-04-05 23:06     ` chad
2010-04-06  7:14       ` Stephen J. Turnbull
2010-04-05 16:12 ` Chong Yidong
2010-04-06 10:43 ` Richard Stallman
2010-04-06 13:25   ` Alan Mackenzie
2010-04-12  5:04     ` Martin Pool
2010-04-06 14:35 ` Jason Rumney
2010-04-06 16:20   ` Alan Mackenzie
2010-04-07 18:21     ` Stephen J. Turnbull
2010-04-07 20:38 ` Óscar Fuentes

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=871verp09s.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=kfogel@red-bean.com \
    /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).