Am 13.04.2011 15:08, schrieb Barry Warsaw:
On Apr 13, 2011, at 10:27 AM, Andreas Röhler wrote:
when closing
[Bug 531034] Re: Add py-class-name-face?
the question arised, if flag should be set to "fixed" or "released".
Generally on my projects, when a fix is committed to the trunk branch (as
opposed to a working branch like myrkwid), I will mark the bug "fix
committed". Only when an actual release of the trunk is made (i.e. a tarball
or .el download file) will I mark the bug "fix released".
Is there a way to determine at which revno/branch the last release is done?
Note that with distributed version control systems, "revnos" (revision
numbers) are more or less meaningless, except locally on your own branches.
That's because what your revision 27 is will be different than my revision 27
because we'd both be committing changes to a branch at different rates. We
often use revnos as a convenience on trunk, but it's important to understand
that revnos can change as other branches are merged. Or to put it another
way, revnos are not unique and immutable.
*revision ids* are though. So if you want to definitively reference a
specific revision, you can use the revid. Here's some sample output:
% bzr log -c 488
------------------------------------------------------------
revno: 488
fixes bug(s): https://launchpad.net/bugs/328849
committer: Andreas Roehler<andreas.roeh...@online.de>
branch nick: myrkwid
timestamp: Mon 2011-04-11 10:16:09 +0200
message:
cls py-pseudo-keyword-face lp:328849
% bzr log -c 488 --show-ids
------------------------------------------------------------
revno: 488
revision-id: andreas.roeh...@online.de-20110411081609-6bcsmqlc23wn5i0o
parent: andreas.roeh...@online.de-20110410164704-uv7wlxsng8uh8bxk
fixes bug(s): https://launchpad.net/bugs/328849
committer: Andreas Roehler<andreas.roeh...@online.de>
branch nick: myrkwid
timestamp: Mon 2011-04-11 10:16:09 +0200
message:
cls py-pseudo-keyword-face lp:328849
What this means is that r488 on your myrkwid branch will likely not be r488
when that branch is merged to trunk. However, the revid
andreas.roeh...@online.de-20110411081609-6bcsmqlc23wn5i0o will always refer to
that specific changeset no matter what branch it is merged to.
Hope that helps!
-Barry
Thanks a lot pointing at that.
Cheers
Andreas
_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode