all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: Strange message from "bzr pull"
Date: Wed, 30 Dec 2009 00:32:56 +0100	[thread overview]
Message-ID: <871vidnyon.fsf@telefonica.net> (raw)
In-Reply-To: 838wcled7s.fsf@gnu.org

Eli Zaretskii <eliz@gnu.org> writes:

[snip]

>> Nobody that reads that document knows that the key information that
>> makes DVCS possible is what you see with
>> 
>> bzr log --show-ids
>
> And why is that information important?

Distributed version control is about exchanging revisions. You need a
way to know what revisions you are missing from some other branch, and a
way to know how the revisions are arranged. Those unique revision-ids
are the solution. A branch is, essentially, a set of revisions arranged
on a DAG. As far as Bazaar is concerned, the revision-id of a revision
(and the revision-ids of its parents) is the interesting info.

The revision number (revno) is only meaningful for a given branch or a
mirror of it. Some tools, like git, do not try to use revision numbers
and use the revision-id instead. This is the Right Thing but too much
people think that those long unique ids are too cumbersome, so Bazaar
and Mercurial have revision numbers too.

Hence, when someone says "revision 98834 broke the build" he must take
care of referring to the master trunk, and you shall look at that
revision number on your local mirror of trunk, because other branches
may have different numeration. But if you say "revision
ofv@wanadoo.es-20091229071534-bdspozxb6idtp7z0 broke the build" you can
see the changes it introduced on any branch with

bzr diff -c revid:ofv@wanadoo.es-20091229071534-bdspozxb6idtp7z0

> More to the point, where _is_ it described?

No idea. But the above description should suffice for our purposes.

> What I see is this:
>
>     revno: 99212 [merge]
>     revision-id: nickrob@snap.net.nz-20091229072200-2capgobhol086ef3
>     parent: dann@ics.uci.edu-20091229064608-lpeenthwsy3zp0vy
>     parent: nickrob@snap.net.nz-20091229071534-bdspozxb6idtp7z0

This revision has two parents because it is a merge point. I'm sure you
get the idea.

[snip]

-- 
Óscar





  reply	other threads:[~2009-12-29 23:32 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-29  7:43 Strange message from "bzr pull" Eli Zaretskii
2009-12-29 10:18 ` Juanma Barranquero
2009-12-29 10:30   ` Eli Zaretskii
2009-12-29 12:40     ` Juanma Barranquero
2009-12-29 16:24       ` Eli Zaretskii
2009-12-29 17:00         ` Karl Fogel
2009-12-29 18:10           ` Eli Zaretskii
2009-12-29 18:13             ` Juanma Barranquero
2009-12-29 18:34               ` Eli Zaretskii
2009-12-29 19:28                 ` Óscar Fuentes
2009-12-29 19:51                   ` Karl Fogel
2009-12-29 20:04                     ` Óscar Fuentes
2009-12-29 20:15                       ` Karl Fogel
2009-12-29 20:29                       ` Eli Zaretskii
2009-12-29 23:32                         ` Óscar Fuentes [this message]
2009-12-30  4:16                           ` Eli Zaretskii
2009-12-30  5:15                             ` Óscar Fuentes
2009-12-31  9:39                       ` Stephen J. Turnbull
2009-12-29 20:16                   ` Eli Zaretskii
2009-12-29 23:14                     ` Óscar Fuentes
2009-12-30  4:21                       ` Eli Zaretskii
2009-12-30  4:28                         ` Miles Bader
2009-12-30  5:26                         ` Óscar Fuentes
2009-12-29 18:44             ` Karl Fogel
2009-12-29 19:01               ` Eli Zaretskii
2009-12-29 19:09                 ` Karl Fogel
2009-12-29 20:09                   ` Eli Zaretskii
2009-12-30  7:02                     ` Eli Zaretskii
2009-12-30 12:19                       ` Juanma Barranquero
2009-12-30 15:05                         ` Eli Zaretskii
2009-12-30 15:19                           ` Juanma Barranquero
2009-12-31 19:36                           ` Karl Fogel
2009-12-31 20:49                             ` Juanma Barranquero
2009-12-29 21:37                 ` Stefan Monnier
2009-12-31  9:43                   ` Stephen J. Turnbull
2009-12-29 18:02       ` Eli Zaretskii
2009-12-29 18:12         ` Juanma Barranquero

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=871vidnyon.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --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.