[Top][All Lists]

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

Re: Git mirrors

From: Eli Zaretskii
Subject: Re: Git mirrors
Date: Thu, 13 Oct 2011 00:01:49 +0200

> From: Óscar Fuentes <address@hidden>
> Date: Wed, 12 Oct 2011 23:37:17 +0200
> > I looked at the two marks tables, but I'm not familiar enough with Bzr to 
> > know
> > the simple incantation to turn
> > "address@hidden" into a revision
> > number.  With that knowledge, I can do it easily.
> There is no easy way, AFAIK. In bzr you can simply do
> bzr log -r address@hidden

  bzr revision-info address@hidden

produces output that is easier to parse:

  96032 address@hidden

> Add to that that the same bzr revision-id may correspond to
> different revision numbers, one per branch where the revision is
> present, so you would need to repeat the `log' command on every branch
> and output a pair (branch-name, revision-id). Although usually the Emacs
> hackers are interested on two branches (`trunk' and the maintenance
> branch, what was `emacs-23' until recently, `emacs-24' after the
> release.) it is still a lot of work to do.

It is good enough to map git sha1 to bzr revision-id; that eliminates
the dependency on the branch.  All the bzr commands that accept
revision numbers also accept revision-ids.

reply via email to

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