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

[Subclipse-users] svnant-1.1.0-RC2 / issue when using export

From: Julien Nitard <julien.nitard_at_streamezzo.com>
Date: Thu, 28 Feb 2008 08:48:29 +0100

Hi,

 

I'd like to report an issue when using export : the revision parameter
is not taken into account when exporting a path and using the command
line interface.

 

The result is that instead of exporting BASE Iike I am specifying, it's
exporting HEAD which accesses the SVN repository while BASE would not.

 

Here is the code I use :

      <svn javahl="false" javasvn="false">

        <info target="build.xml" />

        <export revision="BASE" srcpath=".." destpath="../export" />

      </svn>

 

Here is the command line launched :

 

svn export -r HEAD "C:\Documents and Settings\Julien Nitard\My
Documents\Work\Projects\XXXXXX" "C:\Documents and Settings\Julien
Nitard\My Documents\Work\Projects\XXXXXX\export"

 

If I replace HEAD by BASE and run it manually, it doesn't access the
distant repository.

 

 

I decompiled the code quickly and it seems that the call on the command
line interface passes a null as a revision if a path is specified and
that null is then translated to HEAD in method "validRev" in class
SvnCommandLine.

 

The tracker didn't seem to hold any issue like this, I hope I didn't
submit a duplicate.

 

 

Thanks for attention, regards,

Julien Nitard
Received on 2008-02-28 08:53:48 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.