• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

SVN Problem

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

    SVN Problem

    Not that familiar with SVN. Got a repo in the clould. Using tortoise.

    It has decided to delete an entire folder and sub dirs from the repo after my last commit. No idea why as I didn't delete them on my HDD. They are all there smiling at me with little green ticks next to them, indicating they are in the repo and the repo is up to date?

    WTF?

    It's like visual source safe, only worse
    Knock first as I might be balancing my chakras.

    #2
    SVN is great.

    So if you go to Repo Browser is it still there? In what way has it deleted an entire folder if you're still seeing it?
    Will work inside IR35. Or for food.

    Comment


      #3
      Originally posted by VectraMan View Post
      SVN is great.

      So if you go to Repo Browser is it still there? In what way has it deleted an entire folder if you're still seeing it?
      Not feeling that right now VM to be honest.

      In the repo browser the folder has gone. Since posting I've been frantically dicking about. The current state of affairs is that I unversioned the folder in question and tried adding it back in.

      Originally posted by SVN
      Commit failed.
      Directory 'I haven't been deleted what the hell are you doing?' is out of date.
      Error '/svn/myproject/!svn/txr/21-q/I haven't been deleted what the hell are you doing?' path not found
      Additional errors
      Error: DELETE of '/svn/myproject/!svn/txr/21-q/I haven't been deleted what the hell are you doing?': 404 Not Found
      Error : You have to update your working copy first
      If it is my fault, and I'm more than willing to accept that as I don't really know what I'm doing, then SVN is a cruel mistress. I didn't delete the folder ffs.

      So why did it decide to?

      Evil software.
      Knock first as I might be balancing my chakras.

      Comment


        #4
        You unversioned the folder. I.e. you removed it from the repository.

        Make sure you copy it somewhere. Delete the folder from your disk, and then do an update. Then try adding it back.

        If all else fails, do a clean checkout of the whole thing, and add your folder back.

        It can get into a little bit of a twist at times. But having extensively used SourceSafe, CVS, Mercurial and GIT, SVN would still be my choice.
        Will work inside IR35. Or for food.

        Comment


          #5
          Never heard of this problem in nearly a decade of using SVN. Although when it gets in a pickle it can be a PITA as you're finding out.

          Make sure you take a copy of your local folder outside the working dir and try running cleanup.

          You could also get better help on the TortoiseSVN mailing list. Good luck.
          Originally posted by MaryPoppins
          I'd still not breastfeed a nazi
          Originally posted by vetran
          Urine is quite nourishing

          Comment


            #6
            Thanks chaps. I sorted it following your advice.

            It still scares the bejayzus out of me.

            Hello svn, I'd like to add this new directory. You're ok with that?

            Sure suity, delete this random folder, you got it.
            Knock first as I might be balancing my chakras.

            Comment


              #7
              I assume you're using the latest version, are we on 1.8 now?

              One thing - don't automatically trust the overlay icons in Explorer (the little green/red ones).

              If you're using Visual Studio, there are great plugins to integrate SVN/Tortoise, these work way better than anything I used in Eclipse/XCode.
              Originally posted by MaryPoppins
              I'd still not breastfeed a nazi
              Originally posted by vetran
              Urine is quite nourishing

              Comment


                #8
                SVN regularly messes up for me too, but I'm clueless on what I'm doing.

                We use Ankh plugin for VS which seems pretty good.

                Comment


                  #9
                  It could be worse, current clientco are using TFS, and even VSS for some old legacy applications

                  Comment


                    #10
                    Originally posted by RedSauce View Post
                    It could be worse, current clientco are using TFS, and even VSS for some old legacy applications
                    Knock first as I might be balancing my chakras.

                    Comment

                    Working...
                    X