From: Michael S. <msa...@pc...> - 2005-06-16 14:18:34
|
All, An important note about using subversion-- For newly added files to the repository, it will not automatically perform substitutions on keywords such as $Id$ or $Revision$. There are two ways to resolve this. On a file by file basis: svn propset svn:keywords "Id Revision" Filename This will tell subversion to substitute Id and Revision for Filename. If you want this by default (and I suggest you do!) than you can set it in your subversion config: emacs $HOME/.subversion/config uncomment # enable-auto-props = yes You may also wish to set an editor in this file (editor-cmd) if you have been getting errors about that. You'll need to update this file on every machine that you checkout from subversion from. (If you just use hera, zeus, and you're local linux desktop, then you only need to do this on one of those). Please let me know if you have any questions or difficulties setting this. My apologies that this isn't something I can do server-side-- "it's a feature, not a bug!" --Mike |
From: Elisabetta M. <man...@pc...> - 2005-06-16 14:39:31
|
Looks like you also have to uncomment the relevant section headers, e.g. [helpers] for the editor-cmd, etc. E. --- On Thu, 16 Jun 2005, Michael Saffitz wrote: > > All, > > An important note about using subversion-- For newly added files to the > repository, it will not automatically perform substitutions on keywords such > as $Id$ or $Revision$. There are two ways to resolve this. > > On a file by file basis: > > svn propset svn:keywords "Id Revision" Filename > > This will tell subversion to substitute Id and Revision for Filename. > > If you want this by default (and I suggest you do!) than you can set it in > your subversion config: > > emacs $HOME/.subversion/config > > uncomment # enable-auto-props = yes > > You may also wish to set an editor in this file (editor-cmd) if you have > been getting errors about that. > > You'll need to update this file on every machine that you checkout from > subversion from. (If you just use hera, zeus, and you're local linux > desktop, then you only need to do this on one of those). > > Please let me know if you have any questions or difficulties setting this. > My apologies that this isn't something I can do server-side-- "it's a > feature, not a bug!" > > --Mike > > |
From: Jonathan S. <js...@pc...> - 2005-06-16 19:24:44
|
I also had to uncomment this line: [miscellany] which is located 10-20 lines above the 'enable-auto-props = yes' line. Jonathan Jonathan Schug - js...@pc... On Jun 16, 2005, at 10:18 AM, Michael Saffitz wrote: > > All, > > An important note about using subversion-- For newly added files to > the > repository, it will not automatically perform substitutions on > keywords such > as $Id$ or $Revision$. There are two ways to resolve this. > > On a file by file basis: > > svn propset svn:keywords "Id Revision" Filename > > This will tell subversion to substitute Id and Revision for Filename. > > If you want this by default (and I suggest you do!) than you can > set it in > your subversion config: > > emacs $HOME/.subversion/config > > uncomment # enable-auto-props = yes > > You may also wish to set an editor in this file (editor-cmd) if you > have > been getting errors about that. > > You'll need to update this file on every machine that you checkout > from > subversion from. (If you just use hera, zeus, and you're local linux > desktop, then you only need to do this on one of those). > > Please let me know if you have any questions or difficulties > setting this. > My apologies that this isn't something I can do server-side-- "it's a > feature, not a bug!" > > --Mike > > |
From: Steve F. <sfi...@pc...> - 2005-06-16 19:37:49
|
yes, and both the uncommented lines must have no leading white space steve Jonathan Schug wrote: > I also had to uncomment this line: > > [miscellany] > > which is located 10-20 lines above the 'enable-auto-props = yes' line. > > Jonathan > > > Jonathan Schug - js...@pc... > > > On Jun 16, 2005, at 10:18 AM, Michael Saffitz wrote: > >> >> All, >> >> An important note about using subversion-- For newly added files to the >> repository, it will not automatically perform substitutions on >> keywords such >> as $Id$ or $Revision$. There are two ways to resolve this. >> >> On a file by file basis: >> >> svn propset svn:keywords "Id Revision" Filename >> >> This will tell subversion to substitute Id and Revision for Filename. >> >> If you want this by default (and I suggest you do!) than you can set >> it in >> your subversion config: >> >> emacs $HOME/.subversion/config >> >> uncomment # enable-auto-props = yes >> >> You may also wish to set an editor in this file (editor-cmd) if you >> have >> been getting errors about that. >> >> You'll need to update this file on every machine that you checkout from >> subversion from. (If you just use hera, zeus, and you're local linux >> desktop, then you only need to do this on one of those). >> >> Please let me know if you have any questions or difficulties setting >> this. >> My apologies that this isn't something I can do server-side-- "it's a >> feature, not a bug!" >> >> --Mike >> >> |