How to determine the svn HEAD revision commit time stamp for a particular entry with pysvn

57 Views Asked by At

I would like to determine the svn HEAD revision commit time stamp for a particular entry with pysvn. Has anyone a hint?

1

There are 1 best solutions below

2
Stephan Geue On
import pysvn
import time

path = "../example.txt"
commitDate = time.strftime (
    "%Y-%m-%d",
    time.gmtime (client.info2 (path) [0] [1] ["last_changed_date"]))