Twitter

How to change from anonymous SVN access

Well,
I did found out that I have access to the lenya repository, but the problem is that I had download all the repository as anonymous user.

So, I did not want to download again the same repository, looking on the diferents it seems that on the .svn/entries change the http: to https: should be enough:

find . -name entries -exec perl -pi -w -e 's/http:/https:/g;' {} \;

That worked for me.
Cheers,

2 comments to How to change from anonymous SVN access

  • Ack! Don’t do that! Manually editing the entries file is a horrible idea, and is liable to break in strange and interesting ways.

    To switch from a http checkout to a https checkout you can simply use the ‘svn switch –relocate’ command, like so:

    $ cd /path/to/working/copy
    $ svn switch –relocate http: https:

  • uppsss…
    I did a commit and it worked. So I thought that it was enought.
    svn cleanup
    svn switch –-relocate https: http:
    svn switch -–relocate http: https:
    looks ok, yuppy!

Deja un comentario

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>