bias
bias

Reputation: 1474

How do I know which files in a directory arn't in my SVN repository?

The tile is exactly my question.

[edited out mistaken code]

Upvotes: 2

Views: 323

Answers (6)

rbrayb
rbrayb

Reputation: 46720

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).

Upvotes: 2

Desmond
Desmond

Reputation:

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.

Upvotes: 2

Brett Bender
Brett Bender

Reputation: 19738

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.

Upvotes: 1

Chelsea
Chelsea

Reputation: 6801

From command line if you run "svn st" files not under subversion control will show with a ? beside them.

Upvotes: 2

Richard Ev
Richard Ev

Reputation: 54087

If you're using a PC, TortoiseSVN highlights each file with an overlay icon indicating its status with respect to SVN

Upvotes: 5

empi
empi

Reputation: 15881

You could use svn status command.

If you didn't set ignore property the files will be shown with '?' prefix.

Upvotes: 5

Related Questions