Bazaar and $Id$

后端 未结 1 1760
后悔当初
后悔当初 2020-12-21 09:22

Most my sources are in subversion and I use \'$Id$\' to add revision information to those sources. Then I can easily check what sources were used (e.g.. --version option sho

相关标签:
1条回答
  • 2020-12-21 10:02

    Having automatically generated Id tags that show a sensible version number is impossible to do with DSCM tools like Bazaar because everybody’s line of development can be different from all others. So somebody could refer to version “1.41” of a file but your version “1.41” of that file is different.

    Basically, $Id$ does not make any sense with Bazaar, Git, and other distributed source code management tools.

    0 讨论(0)
提交回复
热议问题