Re: SVN export command irregularity
From: Adam Grant <adam.grant_at_telaeris.com>
Date: Fri, 12 Jun 2009 09:24:01 -0700
Your explanation makes sense. Going back and re-reading the red-bean docs
svn export [-r REV] URL [PATH]
svn export PATH1 PATH2
I didn't realize the [-r REV] only applied to the first case, which does go
But, checking out the command line, I notice my `svn export --help` says
1. Exports a clean directory tree from the repository specified by
2. Exports a clean directory tree from the working copy specified by
Now this doc leads me to my old train of thought, whereas the red-bean book
Does it seem like I'm interpreting this correctly?
-- Adam Grant adam.grant_at_telaeris.com On Fri, Jun 12, 2009 at 1:20 AM, Daniel Becroft <djcbecroft_at_gmail.com>wrote: > 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=2361672 To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].Received on 2009-06-12 20:34:37 CEST
This is an archived mail posted to the Subversion Users mailing list.