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

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

From: Julien Nitard <julien.nitard_at_streamezzo.com>
Date: Thu, 28 Feb 2008 09:20:21 +0100

Hello again,


Sorry for not being able to read, but the problem seems to be in
svnClientAdapter, not svnant.

Here is a small patch that implements the behavior I would expect (ie
export from a path exports the BASE rev, no need to access the server).


Of course maybe the issue is bigger than that : why does the doExport
method taking a WC path as a source in ISVNClientAdapter.java doesn't
allow the user to choose the revision ? The same thing can be done by
computing the URL of the WC, but, having SVN do the job would be



I hope this will be useful,






From: Julien Nitard
Sent: Thursday, February 28, 2008 18:48
To: 'users_at_subclipse.tigris.org'
Subject: svnant-1.1.0-RC2 / issue when using export




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" />



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


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

To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org

Received on 2008-02-28 09:43:23 CET

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