On 23 July 2011 09:48, Karl Berry <[email protected]> wrote:

> Hi Jeremy,
>
> Sorry for the delayed (and useless) reply.
>
>    I'm pretty new to using subversion, so I don't know why any write
>    operation I try returns "authorization failed", whether I use --user
>    and --password or not.  I created my project, changed it from CVS to
>    SVN, and according to the subversion documentation, 'svn import path
>    URL' should let me create a repository, but as I said, it fails
>    authorization.
>
> That's true in general, but svn import doesn't work with savannah :(.
> http://savannah.gnu.org/maintenance/SvnImportExistingRepo explains the
> process for importing a dump at savannah (as far as I know -- I've never
> actually done it).
>
> If you're just starting a repo from scratch and don't have a ton of svn
> history you want to preserve, you don't need to do this.  Just use svn
> checkout svn+ssh:..., exact command is shown on the "Source Code" page,
> copy your files into the new hierarchy, svn add them, then svn commit.
>
> If this isn't it, please post the exact commands you're running, and the
> exact responses.


Hi Karl,

thanks for your reply.  I just want to upload some unversioned code, but if
I use 'svn add' like that page suggests then I get the error:

svn: '.' is not a working copy

which makes sense, as far as my understanding of subversion goes.  'svn
import' is for uploading unversioned files.  I don't mind switching to git
if it is more straightforward.  Thanks, cheers.

Jeremy

Reply via email to