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

RE: Dumpfilter example for windows/dos ?

From: Tom Malia <tommalia_at_ttdsinc.com>
Date: 2007-03-26 21:44:48 CEST

Hum. guess I didn't understand the dumpfilter process.

 

What I was hoping to get from the filter was basically a copy of the branch
with the source code, the folder properties etc.. But what I got was file
that appeared to have no source code in it. what am I doing wrong? How
should I be tackling this problem?

 

Here's the actual contents of the filtered dump if this is of any help to
anyone in figuring out what I did wrong:

 

SVN-fs-dump-format-version: 2

 

UUID: c1ded38a-fbc6-e840-9461-f5266427772e

 

Revision-number: 0

Prop-content-length: 56

Content-length: 56

 

K 8

svn:date

V 27

2007-03-24T04:48:22.015625Z

PROPS-END

 

Revision-number: 1

Prop-content-length: 112

Content-length: 112

 

K 7

svn:log

V 38

This is an empty revision for padding.

K 8

svn:date

V 27

2007-03-24T05:50:58.359375Z

PROPS-END

 

Revision-number: 2

Prop-content-length: 112

Content-length: 112

 

K 7

svn:log

V 38

This is an empty revision for padding.

K 8

svn:date

V 27

2007-03-24T05:57:20.953125Z

PROPS-END

 

Revision-number: 3

Prop-content-length: 112

Content-length: 112

 

K 7

svn:log

V 38

This is an empty revision for padding.

K 8

svn:date

V 27

2007-03-24T05:58:15.046875Z

PROPS-END

 

Revision-number: 4

Prop-content-length: 112

Content-length: 112

 

K 7

svn:log

V 38

This is an empty revision for padding.

K 8

svn:date

V 27

2007-03-24T06:00:22.093750Z

PROPS-END

 

Revision-number: 5

Prop-content-length: 112

Content-length: 112

 

K 7

svn:log

V 38

This is an empty revision for padding.

K 8

svn:date

V 27

2007-03-24T06:00:34.640625Z

PROPS-END

 

Revision-number: 6

Prop-content-length: 112

Content-length: 112

 

K 7

svn:log

V 38

This is an empty revision for padding.

K 8

svn:date

V 27

2007-03-24T06:00:42.156250Z

PROPS-END

 

Revision-number: 7

Prop-content-length: 112

Content-length: 112

 

K 7

svn:log

V 38

This is an empty revision for padding.

K 8

svn:date

V 27

2007-03-24T06:00:45.656250Z

PROPS-END

 

Revision-number: 8

Prop-content-length: 112

Content-length: 112

 

K 7

svn:log

V 38

This is an empty revision for padding.

K 8

svn:date

V 27

2007-03-24T06:00:51.062500Z

PROPS-END

 

Revision-number: 9

Prop-content-length: 112

Content-length: 112

 

K 7

svn:log

V 38

This is an empty revision for padding.

K 8

svn:date

V 27

2007-03-24T06:01:44.875000Z

PROPS-END

 

Revision-number: 10

Prop-content-length: 112

Content-length: 112

 

K 7

svn:log

V 38

This is an empty revision for padding.

K 8

svn:date

V 27

2007-03-24T06:01:51.375000Z

PROPS-END

 

Revision-number: 11

Prop-content-length: 112

Content-length: 112

 

K 7

svn:log

V 38

This is an empty revision for padding.

K 8

svn:date

V 27

2007-03-24T06:07:27.062500Z

PROPS-END

 

Revision-number: 12

Prop-content-length: 112

Content-length: 112

 

K 7

svn:log

V 38

This is an empty revision for padding.

K 8

svn:date

V 27

2007-03-24T06:16:34.906250Z

PROPS-END

 

 

  _____

From: Tom Malia [mailto:tommalia@ttdsinc.com]
Sent: Monday, March 26, 2007 3:38 PM
To: 'Tom Malia'; users@subversion.tigris.org
Subject: RE: Dumpfilter example for windows/dos ?

 

Found the answer..

 

The statement:

$ cat repos-dumpfile | svndumpfilter include calc > calc-dumpfile

 

In DOS would be:

$ svndumpfilter include calc <repos-dumpfile >calc-dumpfile
 
If anyone might be interested.
 
It might be nice if this syntax was available in the Subversion book, if
someone could pass that along to the editors.
 

 

  _____

From: Tom Malia [mailto:tommalia@ttdsinc.com]
Sent: Monday, March 26, 2007 3:24 PM
To: users@subversion.tigris.org
Subject: Dumpfilter example for windows/dos ?

 

Hey folks,

 

I'm trying to use dump to move some projects between repositories. So far
I've got the dump and load stuff working, but now I want to dump a
repository, the strip out from that just a particular branch, then load just
that branch into another Repo..

 

I think I need to use the dump then dumpfilter to get a dump file that only
contains the one branch I'm interested in then load that. does that sound
correct?

 

If so, then I'm having trouble with the syntax:

 

The book shows an example like:

 

$ cat repos-dumpfile | svndumpfilter include calc > calc-dumpfile

 

 

But if I try this I get an error that cat is not a recognized command.which
is what I expected, but that doesn't help me with how I'm suppose to use
Dumpfilter from a DOS command prompt. How do I tell svndumpfilter what
source file it's suppose to use?

 
Received on Mon Mar 26 21:45:54 2007

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.