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

RE: Unable to use filter command properly.

From: Rajnish Kumar Singh <Rajnish.K.Singh_at_kpitcummins.com>
Date: Tue, 26 Oct 2010 19:34:23 +0530

-----Original Message-----
From: Daniel Shahaf [mailto:d.s_at_daniel.shahaf.name]
Sent: Tuesday, October 26, 2010 6:26 PM
To: Rajnish Kumar Singh
Cc: users_at_subversion.apache.org
Subject: Re: Unable to use filter command properly.

Rajnish Kumar Singh wrote on Tue, Oct 26, 2010 at 18:07:04 +0530:
> Hi Danial,
> I apologies for the last mail....
>

No problem.

> These are the output of 'svnadmin load' command.
>
> And these are the output of svndumpfilter

It seems that the dumpfile is indeed empty. I'd guess the path passed
to 'svndumpfilter include' is wrong. (It should be relative to the root
of the repository...

Ah! The repos is called OR1234, so the path passed to 'svndumpfilter'
should NOT include OR1234 --- just the components after that --- that
is, try

        svnadmin dump E:\Repositories\OR1234 | svndumpfilter include Test > E:\123.dump

. Sorry for not noticing that sooner.)

Daniel

Hi Daniel,

I have ran the above command.
I am getting following error after sometime....

* Dumped revision 3747.
Revision 3747 committed as 3747.
* Dumped revision 3748.
Revision 3748 committed as 3748.
* Dumped revision 3749.
svndumpfilter: Invalid copy *s oDuurmcpee dp artehv i's/iVo1n. 13N7e5w0S.V
Directory'
* Dumped revision 3751.
* Dumped revision 3752.
* Dumped revision 3753.
* Dumped revision 3754.
* Dumped revision 3755.
* Dumped revision 3756.
* Dumped revision 3757.
* Dumped revision 3758.
* Dumped revision 3759.
svnadmin: Can't write to stream: The pipe is being closed.

Regards,

Rajnish Singh

>
>
> -----Original Message-----
> From: Daniel Shahaf [mailto:d.s_at_daniel.shahaf.name]
> Sent: Tuesday, October 26, 2010 5:16 PM
> To: Rajnish Kumar Singh
> Cc: users_at_subversion.apache.org
> Subject: Re: Unable to use filter command properly.
>
> Rajnish Kumar Singh wrote on Tue, Oct 26, 2010 at 14:58:46 +0530:
> > Hi,
> >
> > I am trying to use svndumpfilter command in order to filter one of the folder in the entire repository.
> > I just want the dump of the that specific folder.
> >
> > So first I created a dump file using the following command:
> > svnadmin dump E:\Repositories\OR1234 > E:\OR1234.dump
> >
> > I am using the following command for dump filter:
> > svndumpfilter include OR1234/Test < E:\OR1234.dump > E:\123.dump
> >
> > The dump is created at the given location having name 123.dump.
> >
> > But when I am uploading the file to a different repository, it doesn't show any thing.
> > I checked the content from the svn server , it shows "there are no item to show in this view"
> > I used this command to load the file:
> > svnadmin load E:\Repositories\OR123 < E:\123.dump
>
> What was the output of 'svndumpfilter' and 'svnadmin load'?
>
>
Received on 2010-10-26 16:05:05 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.