Allowing "r" in revisions, like r12345

Jari Aalto jari.aalto at cante.net
Thu Mar 13 07:23:49 GMT 2008


The "r" in SVN has been used to indicate a change point:

    * code.cc: (NetworkConnections): Fix for-loop to read the stream.
    This fixes bug #12345 and was caused by error in commit r321.

Likewise in bug reports:

    Fix released in r321

In bzr we would have to use different notation:

    ... in revno 321.

SUGGESTION:

It would be handy if the word "rNNNN", would be also a valid revision
token:

    bzr diff -r r321..

Could bzr simply ignore the leading "r" and use the NNNN, if the
revision would look like

    /r([0-9]+)\b/

[*] I'm aware that people could just copy the number only. But
    if double clicked with mouse over word, it would take "r" with it.
[*] It's quite nice short identifier to write "rNNNN".

Jari

-- 
Welcome to FOSS revolution: we fix and modify until it shines




More information about the bazaar mailing list