You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Thomas Schoepfer <ts...@daetwyler.com> on 2008/01/23 09:32:30 UTC

modify a dump file

Hello all,

I'm searching for a tool to modify properties in a dump file.
We will be moved to a new domain, and this will break some
existing svn:externals definitions.

Simply using "sed" will not work because of the content-length
written to each section.

Any ideas?

Regards,
 Thomas

-- 
Thomas Schoepfer
Control Systems

MDC Max Daetwyler AG
Flugplatz
CH-3368 Bleienbach
Switzerland

Phone: +41 62 919 37 37
Fax: +41 62 919 36 30
tschoepfer@daetwyler.com
www.daetwyler.com

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

RE: Client-side SVN:Externals???

Posted by "Fouts Christopher (QNA RTP PT PREV)" <Ch...@qimonda.com>.
It'll be close to the idea of a config spec feature in clearcase, where "each" user can pick and
choose the files/dirs he/she wants to build.

________________________________
From: lassevk@gmail.com [mailto:lassevk@gmail.com] On Behalf Of Lasse Vågsæther Karlsen
Sent: Friday, February 08, 2008 11:21 AM
To: users@subversion.tigris.org
Subject: Fwd: Client-side SVN:Externals???

Dunno why my mail client replied directly to Chris.

svn:externals is a property that is committed to the server when you commit. The property is resolved client-side, but the property is also stored server-side.

I believe you can check out other working folders in sub-folders of one working folder, and perhaps do what you want.

Why do you want each developer to have his or her own set of externals?

---------- Forwarded message ----------
From: Fouts Christopher (QNA RTP PT PREV) <Ch...@qimonda.com>>
Date: Feb 8, 2008 4:12 PM
Subject: RE: Client-side SVN:Externals???
To: Lasse Vågsæther Karlsen <la...@vkarlsen.no>>


I'm under the impression that SVN:Externals work on the server side, that's why
it applies to ALL developers who use the repository.

I wanted functionality where each developer can set his own SVN:Externals file,
which means, it'll have to be client-side.

-chris

________________________________
From: lassevk@gmail.com<ma...@gmail.com> [mailto:lassevk@gmail.com<ma...@gmail.com>] On Behalf Of Lasse Vågsæther Karlsen
Sent: Friday, February 08, 2008 9:25 AM
To: Fouts Christopher (QNA RTP PT PREV)
Subject: Re: Client-side SVN:Externals???

What is a client-side svn:externals?

On Feb 8, 2008 3:23 PM, Fouts Christopher (QNA RTP PT PREV) <Ch...@qimonda.com>> wrote:
Are they supported? Has this been discussed here before? If so
I'll search the archives. TY

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




--
Lasse Vågsæther Karlsen
mailto:lasse@vkarlsen.no<ma...@vkarlsen.no>
http://presentationmode.blogspot.com/
PGP KeyID: 0xBCDEA2E3



--
Lasse Vågsæther Karlsen
mailto:lasse@vkarlsen.no<ma...@vkarlsen.no>
http://presentationmode.blogspot.com/
PGP KeyID: 0xBCDEA2E3

Fwd: Client-side SVN:Externals???

Posted by Lasse Vågsæther Karlsen <la...@vkarlsen.no>.
Dunno why my mail client replied directly to Chris.

svn:externals is a property that is committed to the server when you commit.
The property is resolved client-side, but the property is also stored
server-side.

I believe you can check out other working folders in sub-folders of one
working folder, and perhaps do what you want.

Why do you want each developer to have his or her own set of externals?

---------- Forwarded message ----------
From: Fouts Christopher (QNA RTP PT PREV) <Ch...@qimonda.com>
Date: Feb 8, 2008 4:12 PM
Subject: RE: Client-side SVN:Externals???
To: Lasse Vågsæther Karlsen <la...@vkarlsen.no>


 I'm under the impression that SVN:Externals work on the server side, that's
why
it applies to ALL developers who use the repository.

I wanted functionality where each developer can set his own SVN:Externals
file,
which means, it'll have to be client-side.

-chris

 ------------------------------
*From:* lassevk@gmail.com [mailto:lassevk@gmail.com] *On Behalf Of *Lasse
Vågsæther Karlsen
*Sent:* Friday, February 08, 2008 9:25 AM
*To:* Fouts Christopher (QNA RTP PT PREV)
*Subject:* Re: Client-side SVN:Externals???

What is a client-side svn:externals?

On Feb 8, 2008 3:23 PM, Fouts Christopher (QNA RTP PT PREV) <
Chris.Fouts@qimonda.com> wrote:

> Are they supported? Has this been discussed here before? If so
> I'll search the archives. TY
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>


-- 
Lasse Vågsæther Karlsen
mailto:lasse@vkarlsen.no
http://presentationmode.blogspot.com/
PGP KeyID: 0xBCDEA2E3




-- 
Lasse Vågsæther Karlsen
mailto:lasse@vkarlsen.no
http://presentationmode.blogspot.com/
PGP KeyID: 0xBCDEA2E3

Client-side SVN:Externals???

Posted by "Fouts Christopher (QNA RTP PT PREV)" <Ch...@qimonda.com>.
Are they supported? Has this been discussed here before? If so
I'll search the archives. TY

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


Re: modify a dump file

Posted by Thomas Schoepfer <ts...@daetwyler.com>.
Roth, Pierre schrieb:
>> I'm searching for a tool to modify properties in a dump file.
>> We will be moved to a new domain, and this will break some 
>> existing svn:externals definitions.
>>
>> Simply using "sed" will not work because of the 
>> content-length written to each section.
>>
>> Any ideas?
> 
> Never used but seems to work fine : http://svn.borg.ch/svndumptool/
> And check the "Transform-prop" command
> 
> Pierre

Hi Pierre

This is exactly what i was looking for.

This command does the job:
./svndumptool.py transform-prop svn:externals 'svn://host.olddomain(.*)'
'svn://host.newdomain\1' in.dump out.dump

Thanks a lot!

 Thomas

-- 
Thomas Schoepfer
Control Systems

MDC Max Daetwyler AG
Flugplatz
CH-3368 Bleienbach
Switzerland

Phone: +41 62 919 37 37
Fax: +41 62 919 36 30
tschoepfer@daetwyler.com
www.daetwyler.com

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

RE: modify a dump file

Posted by "Roth, Pierre" <pi...@covidien.com>.
> I'm searching for a tool to modify properties in a dump file.
> We will be moved to a new domain, and this will break some 
> existing svn:externals definitions.
> 
> Simply using "sed" will not work because of the 
> content-length written to each section.
> 
> Any ideas?

Never used but seems to work fine : http://svn.borg.ch/svndumptool/
And check the "Transform-prop" command

Pierre

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