How do you overcome the svn 'out of date' error?

前端 未结 30 2213
鱼传尺愫
鱼传尺愫 2020-12-12 08:51

I\'ve been attempting move a directory structure from one location to another in Subversion, but I get an Item \'*\' is out of date commit error.

I ha

30条回答
  •  青春惊慌失措
    2020-12-12 09:36

    If you're using the github svn bridge, it is likely because something changed on github's side of things. The solution is simple, you just have to run svn switch, which lets it properly find itself, then update and everything will work. Just run the following from the root of your checkout

    svn info | grep Relative 
    svn switch path_from_previous_command
    svn update
    

    or

    svn switch `svn info | grep Relative | sed 's_.*: __'`
    svn update
    

    The basis for this solution comes from Lee Preimesberger's blog

提交回复
热议问题