Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN update: 'skipped' message

Tags:

terminal

svn

I'm trying to update by using

svn update --username myusername https://my.svn.address

However, I'm just getting a 'skipped' message?

like image 401
redconservatory Avatar asked Feb 03 '11 22:02

redconservatory


4 Answers

I guess you are getting this type of error.

[user@user myprojectdir]# svn up
Skipped '.'

do svn st from your project dir

[user@user myprojectdir]# svn st
svn: warning: '.' is not a working copy 

it means you are not in your working dir. You might have done a wrong checkout.

Correct way is this.

[user@user ~]# svn co http://xxx.xxx.x.xxx/projectPRJ/trunk/ myprojectdir
[user@user ~]# cd myprojectdir
[user@user ~]# svn up

Note: But if you messup with above order, svn up will not work for example.

[user@user ~]# cd myprojectdir
[user@user myprojectdir]# svn co http://xxx.xxx.x.xxx/projectPRJ/trunk/ 
[user@user myprojectdir]# svn up

you will get Skipped '.'

like image 106
shashaDenovo Avatar answered Nov 20 '22 04:11

shashaDenovo


If you're updating a working copy you don't need to provide the address of the remote repository. You just do svn up or svn update, the local working copy already contains the information about where the remote repository is located.

like image 28
Matti Lyra Avatar answered Nov 20 '22 04:11

Matti Lyra


Matti is correct. I would like to add to his point that we need to understand what is a working copy first. Then the difference between SVN export and SVN checkout.

If you ran the svn export command that wouldn't have created a working copy. Only svn checkout creates a working copy.

like image 2
Rajkumar Avatar answered Nov 20 '22 05:11

Rajkumar


I found the SVN client also may say "Skipped" during "svn up," if you use a path that is partly defined by a symbolic link. The workaround is either:

  • cd to that directory, then say "svn up ."
  • or define the path in a way of where the path is the cononical path
like image 2
macetw Avatar answered Nov 20 '22 05:11

macetw