[svk-users] Item already exists in filesystem error

Ruslan Zakirov ruz at bestpractical.com
Tue Sep 30 19:18:31 EDT 2008


Could you please convert this script into proper t/some.t file using
t/*.t as examples. It will help identify problem easier. It worth
checking 2.2.0. Also, view command may help with externals, but I'm
not sure how well it works as I don't have need in externals.

On Tue, Sep 16, 2008 at 3:20 AM, Seth Robertson <in-svk at baka.org> wrote:
>
> While testing to see if svk was going to be suitable for me (answer,
> no, due to overlapping mirror problem/lack of svn external support),
> I ran into a few problems which I thought I would share.
>
> ----------------------------------------------------------------------
> startide seth> svk --version
> This is svk, version v2.0.2 (using Subversion bindings 1.5.1)
> startide seth> svn --version
> svn, version 1.5.1 (r32289)
> ----------------------------------------------------------------------
>
> Generate failure: "Item already exists in filesystem: File already exists"
> ----------------------------------------------------------------------
> #!/bin/sh
> set -e
> echo "Consider cleaning everything out with a: rm -rf ~/.svk"
> mkdir svkdemo
> cd svkdemo
> mkdir -p package1/etc common1
> echo P1L1 > package1/etc/First
> echo C1L2 > common1/Second
> (echo "#!/bin/sh"; echo 'cat */*') > package1/doit; chmod 755 package1/doit
> for f in *; do echo $f; (cd $f; svn import -m $f svn://localhost/repos/$f); done
> for f in *; do echo $f; rm -rf $f; svn co svn://localhost/repos/$f; done
> mkdir SVNtree; mv [a-z]* SVNtree
> svk depotmap --init
> svk mirror svn://localhost/repos/package1 //trunk/package1
> svk mirror svn://localhost/repos/common1 //trunk/package1/common1
> svk sync --all
> svk co //trunk/package1
> cd package1
> svk update
> svk sync --all
> ----------------------------------------------------------------------
>
> I get the output "Item already exists in filesystem: File already
> exists: filesystem '/home/seth/.svk/local/db', transaction '4-4', path
> '/trunk/package1/doit'" at the final "svk sync --all" which is bad.
>
> This script was actually an attempt to reproduce another problem.  The
> first problem I had was a checksum mismatch similar to
> http://lists.bestpractical.com/pipermail/svk-devel/2007-August/001038.html.
>
> The way I created the environment which had that error was very
> similar to the steps above, but I was unable to find a way to simply
> reproduce the checksum problem.
>
>                                        -Seth Robertson
> _______________________________________________
> svk-users mailing list
> svk-users at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/svk-users
>



-- 
Best regards, Ruslan.


More information about the svk-users mailing list