After reviewing the SVN documentation on revision numbers, I now
understand that the svnClientAdapter <checkout> command is issuing both
operative and peg revision numbers. It appears that
/src/main/org/tigris/subversion/svnclientadapter/commandline/SvnCommandl
ine.java was modified at r. 2325 to force both revisions by letenay.
Should specifying a revision number assume it is both operative and peg?
I would think that as they can be two completely different values that
they would be specified separately.
Thanks,
Andy
-----Original Message-----
From: Andrew R Feller
Sent: Tuesday, January 02, 2007 3:29 PM
To: 'users@subclipse.tigris.org'
Subject: Using SVN Ant with multi-project repositories
Hey everybody,
I am trying to do a checkout of a project within a SVN repository from
my ant script using SVN Ant, however SVN does not handle the @HEAD
tacked onto the end of the destPath. Here is my repository layout, the
ant task, and the command being issued:
Layout:
/meeting_scheduler
/meeting_scheduler/app
/meeting_scheduler/app/branches
/meeting_scheduler/app/tags
/meeting_scheduler/app/trunk
/meeting_scheduler/compiled
/meeting_scheduler/compiled/branches
/meeting_scheduler/compiled/tags
/meeting_scheduler/compiled/trunk
Ant Task:
<svn username="username" password="password">
<checkout url="${path_app}" destPath="${temp_dir}/app" />
</svn>
<property name="path_app"
value="https://svn.its.lsu.edu/svn/meeting_scheduler/app/trunk" />
Command:
[svn] Using command line interface
Svn : Checking out a working copy from a repository :
co -r HEAD https://svn.its.lsu.edu/svn/meeting_scheduler/app/trunk@HEAD
/home/afelle1/test/.ant/app --username afelle1 --password *******
--non-interactive
svn: URL 'https://svn.its.lsu.edu/svn/meeting_scheduler/app/trunk@HEAD'
doesn't exist
After copying the line and removing the @HEAD, svn was able to checkout
the proper directory of the repository. I reviewed the SVN Ant
documentation and found no stipulations on the repository layout.
Shouldn't setting the revision argument be enough?
Thanks,
Andy
Andrew R Feller, Analyst
University Information Systems
Louisiana State University
afelle1@lsu.edu
(office) 225.578.3737
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Jan 3 17:45:29 2007