0

Possible Duplicate:
Find files not added to subversion

We use SVN with Tortoise for our Visual Studio projects.Somtimes one of programmers add a file to project that it is not in repository and go home! Is there a script to find all files that are not in repository(Not added)?

How about a plug-in for Tortoise?

More as we know,first we must add file to repo which we can track it in SVN(commit,...)

Community
  • 1
  • 1
Meysam Javadi
  • 1,374
  • 1
  • 10
  • 21
  • ?? You description is hard to understand. Do you mean that he adds the file to his working copy but forgets to commit? If so, you'd need access to his machine. – Michael-O Jul 31 '11 at 13:26
  • They are trying to prevent it happening in the future by ensuring they commit everything to subversion. – iandotkelly Jul 31 '11 at 13:33
  • I have flagged this as a duplicate, as the question I refer to in my answer is really a complete duplicate. – iandotkelly Jul 31 '11 at 13:34
  • Answer direct link (in the duplicate question): http://stackoverflow.com/a/3959104/164089 – Danny Parker Jul 04 '12 at 11:42

2 Answers2

1

This question has been asked before.

You can find solution to how to do this programatically here. There is a solution that uses SharpSvn which I re-post here:

SvnClient client = GetClient();

client.Status(workingCopyPath, (o, e) =>
{
    if(e.LocalContentStatus == SvnStatus.NotVersioned)
    {
        Console.WriteLine("Not versioned: " + e.FullPath);
    }
});
Community
  • 1
  • 1
iandotkelly
  • 9,024
  • 8
  • 48
  • 67
1

Since you're using TSVN, why don't you simply check the box "show unversioned files" at the bottom of the commit dialog?

Stefan
  • 43,293
  • 10
  • 75
  • 117
  • only ignore files you really don't want versioned. Then you don't ever need to show them. But if you ignored all files, there's a checkbox for that too to show all the ignored files. – Stefan Aug 02 '11 at 06:41