You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by emerson cargnin <ec...@gmail.com> on 2006/10/19 15:31:52 UTC

Copying/moving the children directories

Hi all

I usually use tortoise or command line to create tags. When I want to
create a tag qa-2.3.1 with the content of a given dir, let's say,
"my-project", but I don't want to have qa-2.3.1/my-project, but
qa-2.3.1 and the children (files and sub-directories of my-project
dir). Usually I copy the parent and then move one by one, which is
really boring and error-prone. Is there a way to copy all the
subdirectories but not its root?

Thanks
emerson

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Copying/moving the children directories

Posted by Bob Hiestand <bo...@gmail.com>.
On 11/21/06, emerson cargnin <ec...@gmail.com> wrote:

> >  That command does not create 'trunk', it copies trunk to a new
> > location, 'branches/project_name-1.2'.

> actually it copies...

Are you creating the destination tag prior to the copy operation?  If
so, that's the issue.  The copy will create a top level directory
named by the destination you provide if that destination does not
exist (but its parent does).  If the destination does exist, then
you'll end up with an intermediate directory.

Just using the command as given is correct, if you're doing something
before that, please provide details.

Thank you,

Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Copying/moving the children directories

Posted by emerson cargnin <ec...@gmail.com>.
actually it copies...



and I want the branch to have everything inside modules but not having
the subdirectory modules. I try the command


On 09/11/06, Bob Hiestand <bo...@gmail.com> wrote:
> Emerson,
>
>  That command does not create 'trunk', it copies trunk to a new
> location, 'branches/project_name-1.2'.
>
>  I believe the command Mark supplied earlier covers your request.
> What problem do you see with that?
>
> Thank you,
>
> Bob
>
> On 11/8/06, emerson cargnin <ec...@gmail.com> wrote:
> > actually, this command creates the trunk subdirctory on the target server...
> >
> > Is there a way to do it directly?
> >
> > C:\checkout>svn copy http://svn_serverthames/svn/content/trunk/
> > http://server_svnthames/svn/content/branches/project_name-1.2 -m
> > "creating branch for QA/release"
> >
> >
> > thanks
> >
> > On 20/10/06, Mark <ma...@mitsein.net> wrote:
> > > svn copy svn://server.com/svn/trunk/my-project
> > > svn://server.com/svn/tags/qa-2.3.1
> > >
> > > On 10/19/06, emerson cargnin <ec...@gmail.com> wrote:
> > > > Hi all
> > > >
> > > > I usually use tortoise or command line to create tags. When I want to
> > > > create a tag qa-2.3.1 with the content of a given dir, let's say,
> > > > "my-project", but I don't want to have qa-2.3.1/my-project, but
> > > > qa-2.3.1 and the children (files and sub-directories of my-project
> > > > dir). Usually I copy the parent and then move one by one, which is
> > > > really boring and error-prone. Is there a way to copy all the
> > > > subdirectories but not its root?
> > > >
> > > > Thanks
> > > > emerson
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > > > For additional commands, e-mail: users-help@subversion.tigris.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Mark
> > > "Blessed is he who finds happiness in his own foolishness, for he will
> > > always be happy."
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > > For additional commands, e-mail: users-help@subversion.tigris.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Copying/moving the children directories

Posted by Bob Hiestand <bo...@gmail.com>.
Emerson,

  That command does not create 'trunk', it copies trunk to a new
location, 'branches/project_name-1.2'.

  I believe the command Mark supplied earlier covers your request.
What problem do you see with that?

Thank you,

Bob

On 11/8/06, emerson cargnin <ec...@gmail.com> wrote:
> actually, this command creates the trunk subdirctory on the target server...
>
> Is there a way to do it directly?
>
> C:\checkout>svn copy http://svn_serverthames/svn/content/trunk/
> http://server_svnthames/svn/content/branches/project_name-1.2 -m
> "creating branch for QA/release"
>
>
> thanks
>
> On 20/10/06, Mark <ma...@mitsein.net> wrote:
> > svn copy svn://server.com/svn/trunk/my-project
> > svn://server.com/svn/tags/qa-2.3.1
> >
> > On 10/19/06, emerson cargnin <ec...@gmail.com> wrote:
> > > Hi all
> > >
> > > I usually use tortoise or command line to create tags. When I want to
> > > create a tag qa-2.3.1 with the content of a given dir, let's say,
> > > "my-project", but I don't want to have qa-2.3.1/my-project, but
> > > qa-2.3.1 and the children (files and sub-directories of my-project
> > > dir). Usually I copy the parent and then move one by one, which is
> > > really boring and error-prone. Is there a way to copy all the
> > > subdirectories but not its root?
> > >
> > > Thanks
> > > emerson
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > > For additional commands, e-mail: users-help@subversion.tigris.org
> > >
> > >
> >
> >
> > --
> > Mark
> > "Blessed is he who finds happiness in his own foolishness, for he will
> > always be happy."
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Copying/moving the children directories

Posted by emerson cargnin <ec...@gmail.com>.
actually, this command creates the trunk subdirctory on the target server...

Is there a way to do it directly?

C:\checkout>svn copy http://svn_serverthames/svn/content/trunk/
http://server_svnthames/svn/content/branches/project_name-1.2 -m
"creating branch for QA/release"


thanks

On 20/10/06, Mark <ma...@mitsein.net> wrote:
> svn copy svn://server.com/svn/trunk/my-project
> svn://server.com/svn/tags/qa-2.3.1
>
> On 10/19/06, emerson cargnin <ec...@gmail.com> wrote:
> > Hi all
> >
> > I usually use tortoise or command line to create tags. When I want to
> > create a tag qa-2.3.1 with the content of a given dir, let's say,
> > "my-project", but I don't want to have qa-2.3.1/my-project, but
> > qa-2.3.1 and the children (files and sub-directories of my-project
> > dir). Usually I copy the parent and then move one by one, which is
> > really boring and error-prone. Is there a way to copy all the
> > subdirectories but not its root?
> >
> > Thanks
> > emerson
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
> >
>
>
> --
> Mark
> "Blessed is he who finds happiness in his own foolishness, for he will
> always be happy."
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Copying/moving the children directories

Posted by Mark <ma...@mitsein.net>.
svn copy svn://server.com/svn/trunk/my-project
svn://server.com/svn/tags/qa-2.3.1

On 10/19/06, emerson cargnin <ec...@gmail.com> wrote:
> Hi all
>
> I usually use tortoise or command line to create tags. When I want to
> create a tag qa-2.3.1 with the content of a given dir, let's say,
> "my-project", but I don't want to have qa-2.3.1/my-project, but
> qa-2.3.1 and the children (files and sub-directories of my-project
> dir). Usually I copy the parent and then move one by one, which is
> really boring and error-prone. Is there a way to copy all the
> subdirectories but not its root?
>
> Thanks
> emerson
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>


-- 
Mark
"Blessed is he who finds happiness in his own foolishness, for he will
always be happy."

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org