'$Id$' is working too, if I do find . -name "*.py" -exec svn propset svn:keywords "Id" {} \;
On Mar 24, 10:36 pm, Alan <alanwil...@gmail.com> wrote: > I got a solution. > > I undid what I did in ~/.subversion/config > Forget about Id, and used just "$Date$" in my *.py, then > find . -name "*.py" -execsvnpropsetsvn:keywords "Date" {} \; > commit it and it worked. > > Cheers, > Alan > > On Mar 24, 5:34 pm, Alan <alanwil...@gmail.com> wrote: > > > > > Hi guys, tanks for your help but I am definitely doning something > > wrong because I don't get what I want. > > > So, I am trying this: > > > I have this line in my *.py file: > > >repositoryId= '$Id $' + '$Revision$' + '$Date$' > > > I did: > > find . -name "*.py" -execsvnpropsetsvn:keywords "Date" {} \; > > find . -name "*.py" -execsvnpropsetsvn:keywords "Id" {} \; > > > and I also have in my ~/.subversion/config: > > enable-auto-props = yes > > *.py =svn:keywords=Id;svn:eol-style=native > > > So, when I commit my file, I was expecting to see something change in > > "repositoryId= '$Id $' + '$Revision$' + '$Date$' ", like I would see > > if I were using CVS. > > > I am using Eclipse btw, butsvnci is not doing better either. > > > Many thanks, > > Alan > > > On Mar 24, 5:25 pm, David Lindquist <david.lindqu...@gmail.com> wrote: > > > > On Mar 24, 2009, at 10:09 AM, Alan wrote: > > > > > Hi there, > > > > > It's a bit off topic but I guess appropriate anyway. > > > > > So I want to use '$Id$' in my *.py files where '$Id$' got replaced > > > > when I commit my files viasvn. > > > > > But I googled and I still couldn't make it work. Can somebody tell > > > > to make it work? I would like to get at least date and time when > > > > the files are committed (svnon googlecode) in the file itself. > > > > > Many thanks in advance. > > > > > Alan > > > > > -- > > > > Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate > > > > Department of Biochemistry, University of Cambridge. > > > > 80 Tennis Court Road, Cambridge CB2 1GA, UK. > > > > >>http://www.bio.cam.ac.uk/~awd28<< > > > > Rather, that should be: > > > > find . -name "*.py" -execsvnpropsetsvn:keywords "Id" {} \; --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---