Thread (4 messages) flat view 4 messages, 2 authors, 2017-03-23

Re: git svn and SVN property svn:original-date

From: Eric Wong <hidden>
Date: 2017-03-23 02:57:04

Craig McQueen [off-list ref] wrote:
When doing "git svn dcommit", the SVN revision just has the date/time stamp of the time of the dcommit.
Yeah, that's sometimes annoying to me, too.
Apparently SVN revisions can have an "svn:original-date" property, which would be good to set on dcommit, to preserve the timestamp from the git repository.

https://subversion.apache.org/docs/api/1.7/group__svn__props__revision__props.html#ga8f17351dd056149da9cb490f1daf4018
Any idea if which versions of SVN it's supported in and how
recent the feature is?

Perhaps we can enable it everywhere, and maybe only old clients
won't understand it, but won't fail; and we could start using
it as the author date with "git svn fetch".

OTOH, that would break the (perhaps unofficial)
independently-created-git-svn-mirrors-should-have-same-oids-by-default
rule when people run different versions of git, so maybe it
could be an option...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help