[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] svnant export sets incorrect dates?

From: Shamis, Chris (NE) <Chris.Shamis_at_gd-ais.com>
Date: Tue, 25 Mar 2008 13:45:48 -0400

All:

When I use the "export" task in svnant-1.1.0 RC2 the modification dates
of the files are set to today's date. This is inconsistent with other
svn clients that I have used. The svn command line (1.3.2) and tortoise
svn (1.4.7) both set the modification time of exported files to the time
the file was committed to the svn repository.

Checkouts always use the current time and date, but exports are (I
think) supposed to use the date the file was checked in. Directories
are always set with the current date and time for both checkouts and
exports.

I'm using the following ant code to perform my exports:

<path id="svnant.classpath">
  <fileset dir="${home}/ant/svnant-lib">
  <include name="**/*.jar" />
  </fileset>
</path>
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml"
classpathref="svnant.classpath" />

<svn username="user" password="secret">
  <export srcUrl="http://servername/svn/Project/Trunk/readme.txt"
destPath="${build}" />
</svn>

--Chris
Received on 2008-03-25 18:49:13 CET

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.