bazaar equivalents for CVS's $Version$ $Author$ $Log$

John Arbash Meinel john at arbash-meinel.com
Fri Feb 13 14:16:51 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gizbo wrote:
> Hi,
> 
> I'm evaluating Bazaar in the hopes of breaking from CVS.
> 
> One feature of CVS I liked was the ability to include $Log$, $Author$,
> $Version$ and other tags in the source file, which would automatically
> be updated after a commit.
> 
> What is the equivalent (if any) in Bazaar?
> 
> Thanks

In general, automatically replacing text causes a lot of hardships
during things like "merge". I'm guessing you haven't done it much but
the $Version$ tag is particularly awful in CVS. If a file is changed in
2 branches, both update the $Version$ field, and then a merge always
conflicts on that line. Because of specific issues like that, we
intentionally waited on having an implementation, as most of the time
they are at least as harmful as beneficial in a distributed setup.

That said, there has been some work done in this area:
  http://bazaar-vcs.org/KeywordExpansion

I'm not sure what the current status is, just that there is some
interest, and people have done some development.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmVgNMACgkQJdeBCYSNAAPw4wCbBoBGHMv1XGt/9ajDmE4XyV0V
tf8AoI3lRrwgdNFlCOoXNaLx8nBSdFbT
=jicZ
-----END PGP SIGNATURE-----



More information about the bazaar mailing list