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" -exec svn propset svn:keywords "Date" {} \;
find . -name "*.py" -exec svn propset svn: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, but svn ci 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 via svn.
>
> > 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 ( svn on 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" -exec svn propset svn: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
-~----------~----~----~----~------~----~------~--~---

Reply via email to