svn-export Re: svn bdb checkout?
Greg Larkin
glarkin at FreeBSD.org
Wed Jan 23 20:43:25 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 1/19/13 12:22 AM, Xyne wrote:
> Hi,
>
> svn-export has now been rewritten in Python 3. Here's a quick list
> of changes/features:
>
> * threads have been replaced with forks (and remain optional) * new
> option to set svn binary * new option to generate shell script
> instead of using internal calls * no subshell invocation * only svn
> binary is called directly
>
> I've only done some quick testing. Let me know how it works.
>
> Regards, Xyne
>
Hi Xyne,
Thanks for turning that around so quickly, and I am doing some testing
here with the idea to incorporate svn-export into the FreeBSD ports tree.
I've run into a couple of problems that I hope you can take a look at it:
- - Changesets containing directory or file deletions cause the script
to exit. Here is an example where I fetched the FreeBSD ports tree at
a particular revision, then attempted to update to the latest revision:
# python3 svn-export --revision-file foo2.dat
http://svn.freebsd.org/head/ports-mgmt ports-mgmt
Determining current revision.
Current revision is 310894.
Determining changes [310000:310894].
16 new/modified files, 5 deletions
Traceback (most recent call last):
File "svn-export", line 407, in <module>
svn.main()
File "svn-export", line 380, in main
self.remove_old_files(deleted)
File "svn-export", line 302, in remove_old_files
os.unlink(path)
PermissionError: [Errno 1] Operation not permitted: 'ports-mgmt/pkg/files'
- - I can't get the --to-script option to work if there are any
file/directory deletions in the changeset. It looks like the actual
deletion operations are attempted (like above) even when the
- --to-script option is selected.
Let me know if you need any other information.
Thank you,
Greg
- --
Greg Larkin
http://www.FreeBSD.org/ - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/ - Follow you, follow me
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlEAS2IACgkQ0sRouByUApCNCACeKQ7hFTqIwX65utRksM2B/9g3
tl4AoKz3MT+I+vB4nUntVzHbiTe2p7CV
=hd+V
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list