问题
The tile is exactly my question.
[edited out mistaken code]
回答1:
You could use svn status command.
If you didn't set ignore property the files will be shown with '?' prefix.
回答2:
If you're using a PC, TortoiseSVN highlights each file with an overlay icon indicating its status with respect to SVN
回答3:
From command line if you run "svn st" files not under subversion control will show with a ? beside them.
回答4:
You can use svn stat
to see any files that exist in your working copy that aren't being ignored and are not in your repository. They will be marked with a question mark ?. To see every file that is not in the repository (even those that would normally be ignored by svn), use svn stat --no-ignore.
回答5:
To amplify @RichardE's answer, the icons in Tortoise SVN look like:
alt text http://img144.imageshack.us/img144/1906/subversionicons.png
The files that aren't yet in the repository are marked with a "?"
(From the Help file).
回答6:
If you're on linux, from the topmost directory which you have under svn, run this command:
svn status
Any files that come up as having the ? symbol beside them are not under version control. You can add them with 'svn add < filename >'
Commit them to your repository as usual with svn commit.
来源:https://stackoverflow.com/questions/774540/how-do-i-know-which-files-in-a-directory-arnt-in-my-svn-repository