git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git svn and SVN property svn:original-date

From
CMCraig McQueen <craig.mcqueen@innerrange.com>
Date
Mar 22, 2017, 23:26 UTC
Message-ID
<5500469A22567C4BAF673A6E86AFA3A40295E65B42D1@IR-CENTRAL.corp.innerrange.com>
When doing "git svn dcommit", the SVN revision just has the date/time stamp of the time of the dcommit.
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 "The svn:date property must be monotonically increasing, along with the revision number. In certain scenarios, this may pose a problem when the revision represents a commit that occurred at a time which does not fit within the sequencing required for svn:date. This can happen, for instance, when the revision represents a commit to a foreign version control system, or possibly when two Subversion repositories are combined. This property [svn:original-date] can be used to record the TRUE, original date of the commit."

-- 
Craig McQueen
Next: Eric Wong
Message 1 of 4 in “git svn and SVN property svn:original-date”
  1. Craig McQueenMar 22, 2017
  2. Eric WongMar 23, 2017
  3. Craig McQueenMar 23, 2017
  4. Eric WongMar 23, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.