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

RE: [Bug] svn export -r <rev> of single file fails if there is a newer revision available than the exported one

From: Bert Huijben <bert_at_qqmail.nl>
Date: Thu, 16 Feb 2017 15:15:20 +0100

The -r123 and @123 functions have completely different behavior.

 

The @ syntax looks up the url as it was in in revision r123 and fetches the file from there

The -r checks the path as it currently exists, back to the path it had in revision 123… following copies, renames, etc.

(Note: you can combine these functions to trace a url backwards starting with a specific revision)

 

So this is most likely the completely documented behavior. See the Subversion book on <http://svnbook.red-bean.com> http://svnbook.red-bean.com

 

                Bert

 

From: Schedel, Andreas [mailto:Andreas.Schedel_at_harman.com]
Sent: donderdag 16 februari 2017 11:31
To: users_at_subversion.apache.org
Subject: [Bug] svn export -r <rev> of single file fails if there is a newer revision available than the exported one

 

SVN server: V1.8.14 (r1692801)

 

Hi,

 

When trying to export a dedicated file of a special revision by using

# svn export –r <revision> https://svn-server/trunk/myfile.txt

everything is working fine as long as no newer revision of this file is available in the repository.

 

If a newer revision is available on the server, the following error message is returned:

                svn: E195012: Unable to find repository location for <myfile> in revision <revision>

 

The “@syntax” is working fine:

# svn export https://svn-server/trunk/myfile.txt@ <https://svnserver/trunk/myfile.txt@%3crevision> <revision>

 

Is this an already known bug of SVN or perhaps an undocumented feature?

 

Thanks and best regards

 

Andreas

 

 

Harman Becker Automotive Systems GmbH
Sitz der Gesellschaft: Karlsbad
Amtsgericht Mannheim: HRB-Nr. 361395
Geschäftsführung: Michael Mauser, Dr. Udo Hüls
Vorsitzender des Aufsichtsrats: Dr. Frank Groth

__________________________________________________________________________________________________________________

ANDREAS SCHEDEL

BMW MGU

Harman International Automotive Division

 

Parkring 3

85748 Garching, Germany

Phone: +49 (89) 35870 – 040

Fax: +49 (89) 35870 – 170

Email: <mailto:Juergen.Lorff_at_harman.com> andreas.schedel_at_harman.com

Web: <http://www.harman.com/> www.harman.com

 

Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.

 

image001.jpg
Received on 2017-02-16 15:15:39 CET

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

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