Announcement

Collapse
No announcement yet.

Error: svn: File not found: transaction '0-1'...

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error: svn: File not found: transaction '0-1'...

    Hello.

    I just installed svn 1.4.5 on Win Vista using the instructions at http://life.mysiteonline.org/archive...indows-XP.html
    I have svnserve up and running and as my first act am trying to use svn mkdir to create my trunk dir. Here are the results:
    Code:
    C:\svn-repo>svn mkdir svn://localhost/svn-repo/trunk
    Authentication realm: <svn://localhost:3690> 41351a78-593b-8341-a948-80db601e2da
    d
    Password for 'xxxxx': *******
    Authentication realm: <svn://localhost:3690> 41351a78-593b-8341-a948-80db601e2da
    d
    Username: xxx
    Password for 'xxx': *******
    svn: File not found: transaction '0-1', path '/svn-repo/trunk'
    svn: Your commit message was left in a temporary file:
    svn:    'svn-commit.2.tmp'
    My searches aren't turning up anything. I should say that I created another repository prior to this one and, receiving the same error message and being unable to resolve it, thought I could work around it by creating a new repository. Nope.

    Thanks!
    Peter

  • #2
    How are you starting your svnserve process (full command line)?

    What directory did you create your repository in?
    I am neither an employee nor customer of WANDisco.

    Comment


    • #3
      How are you starting your svnserve process (full command line)?
      Here's a history of what I've done re svnserve:
      - (after creating first repo) did
      Code:
      svnserve --daemon --root "repo-path"
      - closed cmd window
      - created Windows service using
      Code:
      sc create svnrepos binpath= "\"C:\program files\subversion\bin\svnserve.exe\" --service --root \"C:\REPO1" displayname= "Subversion Repository" depend= Tcpip start= auto
      - got response [SC] CreateService SUCCESS
      - after first occurrence of "file not found" error, deleted service using sc delete
      - re-booted
      - created 2nd repo
      - re-created service using
      Code:
      sc create svnrepos binpath= "\"C:\program files\subversion\bin\svnserve.exe\" --service --root \"C:\REPO2" displayname= "Subversion Repository" depend= Tcpip start= auto
      - (And, to finally answer your question) did
      Code:
      C:\svn-repo>net start svnrepos
      The Subversion Repository service is starting.
      The Subversion Repository service was started successfully.
      - The next cmd I issued was mkdir and it failed as described in my O.P.

      What directory did you create your repository in?
      If you mean "What was your current working directory when you issued the create command?", I don't remember. If you mean "What is your repository path?", it's C:\svn-repo. Its contents are:
      Code:
      C:\svn-repo>dir
       Volume in drive C has no label.
       Volume Serial Number is 4BE1-482E
      
       Directory of C:\svn-repo
      
      12/05/2007  10:12 AM    <DIR>          .
      12/05/2007  10:12 AM    <DIR>          ..
      12/05/2007  09:10 AM    <DIR>          conf
      12/05/2007  09:08 AM    <DIR>          dav
      12/05/2007  09:08 AM    <DIR>          db
      12/05/2007  09:08 AM                 2 format
      12/05/2007  09:08 AM    <DIR>          hooks
      12/05/2007  09:08 AM    <DIR>          locks
      12/05/2007  09:08 AM               234 README.txt
      12/05/2007  10:12 AM               106 svn-commit.2.tmp
      12/05/2007  10:10 AM               106 svn-commit.tmp
                     4 File(s)            448 bytes
                     7 Dir(s)  31,389,528,064 bytes free
      FYI, I have tweaked the passwd and svn.conf files as advised in the URL in the O.P.
      Peter

      Comment


      • #4
        When you run svnserve (or create the service), --root should point at the repository directory.

        You have a repository in c:\svn-repo but you never pointed any of your svnserve processes at it.
        I am neither an employee nor customer of WANDisco.

        Comment


        • #5
          When I ran the sc command the second time, I did indeed specify in the syntax
          Code:
           --root "C:\svn-repo"
          even though my example uses the catch-all "REPO2". I just looked at the actual terminal output to confirm that I correctly specified the path. In addition, I just re-issued the command
          Code:
          svnserve --daemon --root "C:\svn-repo"
          . I then opened a second command prompt and attempted my mkdir. Same result.
          Peter

          Comment


          • #6
            Originally posted by pvy
            When I ran the sc command the second time, I did indeed specify in the syntax
            Code:
             --root "C:\svn-repo"
            even though my example uses the catch-all "REPO2".
            That wasn't clear, which is why I asked.
            Originally posted by pvy
            In addition, I just re-issued the command
            Code:
            svnserve --daemon --root "C:\svn-repo"
            . I then opened a second command prompt and attempted my mkdir. Same result.
            OK, so your server is using c:\svn-repo as its root, and you're attempting svn mkdir svn://localhost/svn-repo/tunk

            svn://localhost/ points at the root of the repository already. The URL you're using is looking for a directory called svn-repo inside the repository.

            Try svn mkdir svn://localhost/trunk
            I am neither an employee nor customer of WANDisco.

            Comment


            • #7
              Humble Newbie Thanks You



              That was it. Thank you very much!
              Peter

              Comment

              Working...
              X