help determining file creation time
From: G. Clark Haynes <gch_at_cs.cmu.edu>
Date: 2006-03-05 02:39:14 CET
Hi everyone,
I've got a hopefully quick question. I am using Subversion 1.3.0 with
I'm trying to recurse back through the history of a file to figure out
Calling 'svn log' on the same file shows me modifications prior to times
Can anyone give me a pointer on how you also track file moves?
Sample Python code follows.
Another, question, is that I'm unable to use fs.node_proplist, and only
>>> fs.node_proplist(root,'gear/helmets.txt')
Thanks!
===============================================
from datetime import datetime
SVN_ROOT = '/var/www/subversion/personal/wiki'
repository = repos.open(SVN_ROOT)
# jump back once from current to get last modified time
# convert that to a datetime object
### FIXME - this is not tracking file moves, how to fix?
print '%s' % (created_at)
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.