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

Re: [Subclipse-users] Url@revision syntax not working

From: Puneet Lakhina <puneet.lakhina_at_gmail.com>
Date: 2007-04-26 15:57:32 CEST

On 4/26/07, Mark Phippard <markphip@gmail.com> wrote:
>
> On 4/26/07, Puneet Lakhina <puneet.lakhina@gmail.com> wrote:
> >
> >
> >
> > On 4/26/07, Mark Phippard <markphip@gmail.com> wrote:
> > > On 4/26/07, Puneet Lakhina <puneet.lakhina@gmail.com> wrote:
> > > >
> > > >
> > > > On 4/24/07, Mark Phippard <markphip@gmail.com > wrote:
> > > > > Try adding a slash to the end of the URL.
> > > >
> > > > Tried, still the same problem. :-(
> > > > With the following build file
> > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > <project default="myTarget">
> > > > <taskdef name="svn"
> > > >
> > classname="org.tigris.subversion.svnant.SvnTask"></taskdef>
> > > > <target name="myTarget">
> > > > <svn>
> > > > <checkout url="svn://10.0.52.139/" destPath="C:/ant_svn_test"/>
> > > > </svn>
> > > > </target>
> > > > </project>
> > > >
> > > > I again get the following error
> > > > Buildfile: build.xml
> > > >
> > > > myTarget:
> > > > [svn] Using command line interface
> > > > Svn : Checking out a working copy from a repository :
> > > > co -r HEAD svn://10.0.52.139@HEAD C:\ant_svn_test --non-interactive
> > > > svn: Unknown hostname 'HEAD'
> > > >
> > > > BUILD FAILED
> > > > C:\Documents and Settings\puneet\My Documents\ant
> > > > experimentation\build.xml:6:
> > > > Can't checkout
> > > >
> > > > Total time: 14 seconds
> > > >
> > > > Hasnt anyone else faced a similar problem with svn on windows XP or
> on
> > > > anyother platform??
> > >
> > > It is probably not typical to checkout the root of a repository and
> > > that is what is triggering the problem for you.
> >
> > dont think thats the problem, I tried the following also
> > <checkout url="svn://10.0.52.139/WebApp1" destPath="C:/ant_svn_test"/>
> >
> > so basically the following works:
> > $> svn co -r HEAD svn://10.0.52.139/WebApp1
> >
> >
> >
> > but follwoing syntax does not
> > $> svn co -r HEAD svn://10.0.52.139/WebApp1_at_HEAD
> > In this case i get an error
> > svn: URL 'svn://10.0.52.139/AOLWeb1_at_HEAD ' doesn't exist
>
> If that is an actual cut & paste you must have problems outside of
> svnAnt. There is no way the URL would change from WebApp1 to AOLWeb1
> like that.

sorry that wasnt an actual cut and paste

$> svn co -r HEAD svn://10.0.52.139/WebApp1_at_HEAD
In this case i get an error
svn: URL 'svn://10.0.52.139/WebApp1_at_HEAD ' doesn't exist

sorry for posting incorrectly.

> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
>

-- 
Puneet
Received on Thu Apr 26 15:57:40 2007

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

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