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

Re: Combining multiple projects

From: François Beausoleil <fbeausoleil_at_ftml.net>
Date: 2004-08-18 20:58:23 CEST

Hugi Thordarson wrote:

> Thanks, but if I try to do the copy locally, I just get up the
> instructions for usage of "svn cp". For example, if my current working
> directory is OldProject1, I try this:
>
> svn cp * ../NewProject/
>
> Any more ideas?

Huh, I forgot to mention a little thingy... Wildcard is only possible
on some subcommands... Namely commit, add, delete and propset/get/list.

You have to remember that wildcard expansion is not done by subversion
itself, but by the shell. So, the command that subversion receives is
not "svn cp * ../NewProject", but really "svn cp fileA fileZ fileN
../NewProject", and the help for svn cp specifically requires two args,
not twenty.

You'll have to script your way through it, I'm afraid.

Cheers,
François

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 18 21:02:21 2004

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.