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

Re: SVN export command irregularity

From: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Fri, 12 Jun 2009 18:20:54 +1000

On Fri, Jun 12, 2009 at 10:37 AM, Adam Grant <adam.grant_at_telaeris.com>wrote:

> Hi everyone,
>
> I was wondering why:
>
> `svn export -r HEAD path_to_local_checkout destination`
>
> goes to the MASTER repository for the export, whereas:
>
> `svn export path_to_local_checkout destination`
>
> exports from the local checkout directory?
>
> I did not see this behaviour documented at all, and it really shouldn't be
> hitting the Master repo if a URL is not specified as the source.
>
> Any thoughts or workarounds?
>
> Tested on:
>
> svn, version 1.5.1 (r32289)
> compiled Jul 31 2008, 09:45:17
>
> and
>
> svn, version 1.6.2 (r37639)
> compiled May 16 2009, 05:17:46
>
> Thanks.
>
> --
> Adam Grant
> adam.grant_at_telaeris.com
>
>
Hi,

I'm guessing it's got something to do with the fact that -r HEAD indicates
the HEAD revision of the repository, which it cannot know without going back
to the repository.

What are you expecting to be exported with your first command if accessing
the repository is not allowed?

Cheers,
Daniel B.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2361537

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-12 10:22:35 CEST

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.