From: Glyn M. <gly...@gm...> - 2008-06-23 12:00:07
|
Dean, 2008/6/23 Dean Michael Berris <mik...@gm...>: > On Mon, Jun 23, 2008 at 5:25 PM, Glyn Matthews <gly...@gm...> > wrote: > > Hi, > > > > 2008/6/23 Dean Michael C. Berris <dmb...@fr...>: > >> > >> > * Might it be better to add the pion-net version number to > >> > the SVN properties? > >> > >> Our SVN properties? I'm not very familiar with this, can you elaborate? > > > > http://svnbook.red-bean.com/en/1.1/ch07s02.html > > > > We can add a property denoting the version of pion-net that we're working > > from. The subversion system will be able to detect conflicts with > > properties, so we won't accidentally commit changes relating to different > > versions of pion-net. This would be far less error-prone than having to > > check the source code comments. > > > > Ah. So what do I do from the client side? With TortoiseSVN (which I'm looking at now), you can add properties using the dialog (right-click in the directory, select "Properties" in the menu, select the Subversion tab and click the box that says "Properties". They should be empty. Otherwise, from a command line, follow the instructions given in the link I posted. If you need to know more about how properties work in subversion, take at look at the boost repository and check the properties for different files/directories. I expect we'd add something to individual files like the following: $> svn propset pion-version '0.5.6' boost/network/http/parser.hpp HTH, G |