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

Re: svn move directory will create a new revision for every file inside this directory?

From: Leonardo Azize Martins <lazize_at_gmail.com>
Date: Thu, 10 Jun 2010 16:13:35 -0300

Hi Bob,

Thanks for you replay.

I heve the structure below:

DIR_A - Rev 1
----> File_A - Rev 2
DIR_B - Rev 3

If I move DIR_A to inside DIR_B the structure will be as:

DIR_B - Rev 3
---->DIR_A - Rev 4
---->----> File_A - Rev 2

So, the directory has a new revision (Rev 4), but files inside this
directory does not ( Rev 2).

If i try to get this file from:
 - REV: 2
 - PEGREV: 2
 - Path: DIR_B/DIR_A/FILE_A
svn show error, because this path is not valid in PEGREV 2.

Regards,
Leo

2010/6/10 Bob Archer <Bob.Archer_at_amsi.com>:
>> The command below will create a new revision for directory SRC_REP_DIR?
>> And for files inside this directory? Had a new revision too?
>>
>> "svn move SRC_REP_DIR DST_REP_DIR"
>>
>> Command above use repository not WC.
>
> That command is going to basically going to be the same as:
>
> svn copy SRC_REP_DIR DST_REP_DIR
> svn delete SRC_REP_DIR
>
> Yes... a new revision will be created. The new path will be in HEAD and the old path will not be.
>
> BOb
>
>
Received on 2010-06-10 21:14:32 CEST

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.