You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Bryan D. Andrews" <ba...@trendcore.com> on 2007/02/04 20:32:55 UTC
SVNDumpFilter Problems
I am trying to use the dump filter in windows.
I have a directory that I am trying to move to its own repository:
/
trunk/
ALT/
I am doing the following filter from the last full dump:
svndumpfilter include trunk/ALT <NightlyBackup > ALTdump2
I had to add the "<" (I found this on a forum:
http://www.svnforum.org/2017/viewtopic.php?t=160&sid=d0d3fe49b6f55d7c62c
13bee17abdf22) to make this work in windows but I am having issues with
the dump not containing the proper revisions -- its actually empty
though I can view the log in the new repository and it does not look
like the comments indicate the proper tree is being pushed.
I am having a couple of other issues with this, but to minimize the
confusion I will start by asking:
1. Is this the proper syntax for using this in a windows environment?
2. is my include prefix created properly? I have not seen any examples
of including subdirectories...
Thanks for any info.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: SVNDumpFilter Problems
Posted by "Bryan D. Andrews" <ba...@trendcore.com>.
Any ideas? :)
-----Original Message-----
From: Bryan D. Andrews [mailto:bandrews@trendcore.com]
Sent: Sunday, February 04, 2007 3:33 PM
To: users@subversion.tigris.org
Subject: SVNDumpFilter Problems
I am trying to use the dump filter in windows.
I have a directory that I am trying to move to its own repository:
/
trunk/
ALT/
I am doing the following filter from the last full dump:
svndumpfilter include trunk/ALT <NightlyBackup > ALTdump2
I had to add the "<" (I found this on a forum:
http://www.svnforum.org/2017/viewtopic.php?t=160&sid=d0d3fe49b6f55d7c62c
13bee17abdf22) to make this work in windows but I am having issues with
the dump not containing the proper revisions -- its actually empty
though I can view the log in the new repository and it does not look
like the comments indicate the proper tree is being pushed.
I am having a couple of other issues with this, but to minimize the
confusion I will start by asking:
1. Is this the proper syntax for using this in a windows environment?
2. is my include prefix created properly? I have not seen any examples
of including subdirectories...
Thanks for any info.
---------------------------------------------------------------------
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: SVNDumpFilter Problems
Posted by Jeff Smith <js...@robotronics.com>.
On Wednesday 21 February 2007 16:46, D.J. Heap wrote:
> H:\svndumpfilter include trunk/Test < file.dump > file2.dump
>
> and it kept my /trunk/Test subdirectory and dropped everything
> else.
>
> Of course, file2.dump is not loadable into a fresh repo because
[...]
Of course you can also search&replace in file2.dump file before
loading, to remove the "trunk" component if you don't want that
prefix in the path.
file:///home/jsmith/downloads/programming/version%20control/svn-book-2627.html#svn.reposadmin.maint.tk.svndumpfilter
"edit your dump files, tweaking the Node-path and Node-copyfrom-path
headers"
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Re: SVNDumpFilter Problems
Posted by "Bryan D. Andrews" <ba...@trendcore.com>.
I was not creating my /trunk directory before loading. Thanks for the
suggestion -- problem solved!
-----Original Message-----
From: D.J. Heap [mailto:djheap@gmail.com]
Sent: Wednesday, February 21, 2007 6:39 PM
To: Bryan D. Andrews
Cc: users@subversion.tigris.org
Subject: Re: Re: SVNDumpFilter Problems
On 2/21/07, Bryan D. Andrews <ba...@trendcore.com> wrote:
> Are you saying that you have included starting at a subdirectory like
> (and it worked when you loaded)?:
>
> include trunk/ALT
>
Yes. The exact command I used was:
H:\svndumpfilter include trunk/Test < file.dump > file2.dump
and it kept my /trunk/Test subdirectory and dropped everything else.
Of course, file2.dump is not loadable into a fresh repo because /trunk
doesn't exist - but if you add /trunk to the fresh repo and then load
the dump it works (with the normal svndumpfilter caveats such as
something in /trunk/Test referencing some other directory that was
dropped -- basically, if not used very carefully svndumpfilter can
create broken dumps).
DJ
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Re: SVNDumpFilter Problems
Posted by "D.J. Heap" <dj...@gmail.com>.
On 2/21/07, Bryan D. Andrews <ba...@trendcore.com> wrote:
> Are you saying that you have included starting at a subdirectory like
> (and it worked when you loaded)?:
>
> include trunk/ALT
>
Yes. The exact command I used was:
H:\svndumpfilter include trunk/Test < file.dump > file2.dump
and it kept my /trunk/Test subdirectory and dropped everything else.
Of course, file2.dump is not loadable into a fresh repo because /trunk
doesn't exist - but if you add /trunk to the fresh repo and then load
the dump it works (with the normal svndumpfilter caveats such as
something in /trunk/Test referencing some other directory that was
dropped -- basically, if not used very carefully svndumpfilter can
create broken dumps).
DJ
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Re: SVNDumpFilter Problems
Posted by "Bryan D. Andrews" <ba...@trendcore.com>.
Are you saying that you have included starting at a subdirectory like
(and it worked when you loaded)?:
include trunk/ALT
-----Original Message-----
From: D.J. Heap [mailto:djheap@gmail.com]
Sent: Wednesday, February 21, 2007 2:15 PM
To: Bryan D. Andrews
Cc: users@subversion.tigris.org
Subject: Re: SVNDumpFilter Problems
On 2/21/07, Bryan D. Andrews <ba...@trendcore.com> wrote:
>
> I am trying to use the dump filter in windows.
>
> I have a directory that I am trying to move to its own repository:
>
> /
> trunk/
> ALT/
>
> I am doing the following filter from the last full dump:
>
> svndumpfilter include trunk/ALT <NightlyBackup > ALTdump2
>
That syntax works for me using the 1.4.3 binaries built with VC6. I
did find, however, that svndumpfilter.exe built with VS2005 croaks due
to the use of %n in sprintf functions -- apparently that was deemed
insecure and you have to explicitly call a different function to
re-enable it.
If that is not your issue, can you post a snippet of the output you are
getting?
DJ
---------------------------------------------------------------------
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: SVNDumpFilter Problems
Posted by "D.J. Heap" <dj...@gmail.com>.
On 2/21/07, Bryan D. Andrews <ba...@trendcore.com> wrote:
>
> I am trying to use the dump filter in windows.
>
> I have a directory that I am trying to move to its own repository:
>
> /
> trunk/
> ALT/
>
> I am doing the following filter from the last full dump:
>
> svndumpfilter include trunk/ALT <NightlyBackup > ALTdump2
>
That syntax works for me using the 1.4.3 binaries built with VC6. I
did find, however, that svndumpfilter.exe built with VS2005 croaks due
to the use of %n in sprintf functions -- apparently that was deemed
insecure and you have to explicitly call a different function to
re-enable it.
If that is not your issue, can you post a snippet of the output you are getting?
DJ
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: SVNDumpFilter Problems
Posted by "Bryan D. Andrews" <ba...@trendcore.com>.
Any ideas are appreciated here...
-----Original Message-----
From: Bryan D. Andrews [mailto:bandrews@trendcore.com]
Sent: Sunday, February 04, 2007 3:33 PM
To: users@subversion.tigris.org
Subject: SVNDumpFilter Problems
I am trying to use the dump filter in windows.
I have a directory that I am trying to move to its own repository:
/
trunk/
ALT/
I am doing the following filter from the last full dump:
svndumpfilter include trunk/ALT <NightlyBackup > ALTdump2
I had to add the "<" (I found this on a forum:
http://www.svnforum.org/2017/viewtopic.php?t=160&sid=d0d3fe49b6f55d7c62c
13bee17abdf22) to make this work in windows but I am having issues with
the dump not containing the proper revisions -- its actually empty
though I can view the log in the new repository and it does not look
like the comments indicate the proper tree is being pushed.
I am having a couple of other issues with this, but to minimize the
confusion I will start by asking:
1. Is this the proper syntax for using this in a windows environment?
2. is my include prefix created properly? I have not seen any examples
of including subdirectories...
Thanks for any info.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: RE: SVNDumpFilter Problems
Posted by "Bryan D. Andrews" <ba...@trendcore.com>.
Bump.
-----Original Message-----
From: Bryan D. Andrews [mailto:bandrews@trendcore.com]
Sent: Sunday, February 04, 2007 3:33 PM
To: users@subversion.tigris.org
Subject: SVNDumpFilter Problems
I am trying to use the dump filter in windows.
I have a directory that I am trying to move to its own repository:
/
trunk/
ALT/
I am doing the following filter from the last full dump:
svndumpfilter include trunk/ALT <NightlyBackup > ALTdump2
I had to add the "<" (I found this on a forum:
http://www.svnforum.org/2017/viewtopic.php?t=160&sid=d0d3fe49b6f55d7c62c
13bee17abdf22) to make this work in windows but I am having issues with
the dump not containing the proper revisions -- its actually empty
though I can view the log in the new repository and it does not look
like the comments indicate the proper tree is being pushed.
I am having a couple of other issues with this, but to minimize the
confusion I will start by asking:
1. Is this the proper syntax for using this in a windows environment?
2. is my include prefix created properly? I have not seen any examples
of including subdirectories...
Thanks for any info.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org