sharpsvn

I am getting SvnRepositoryIOException: OPTIONS while trying to access the repository using sharpsvn in asp.net 3.5

OPTIONS of 'http://websvn.tigris.org/svn/websvn': Could not resolve hostname `websvn.tigris.org': No such host is known. (http://websvn.tigris.org) ...

Commit in sharpSVN

Hello! I have a problem doing commit with sharpsvn. Now i´m adding all the files of my working copy (if the file is added throws an exception), and after it i do commit. It works but it trows exceptions. There is some way to get the status of the repository before do add() and only add the new files or the files who are changed? And if i...

SharpSvn and C# source code samples...

Can somebody please suggest a good place to look for source code examples of how to use the SharpSvn library? ...

how to know what files or folder are changed before do commit

My problem is how to know what files or folder are changed before do commit. I can add all the new files in my working copy before do commit, and the repository changes, but if for example i delete one file of the working copy i dont know the way to add this change before do commit. When you use the tortoise for example before do commit ...

Using client.status in c# with sharpsvn

I want to use the status method but i dont understand how it works. Could someone show me an example of use please? EventHandler < SvnStatusEventArgs > statusHandler = new EventHandler<SvnStatusEventArgs>(void(object, SvnStatusEventArgs) target); client.Status(path, statusHandler); ...

Retrieving the last n log messages with SharpSvn

Does anyone how to retrieve the last n log messages from SVN using SharpSvn? I’ve been calling GetLog with an SvnRevisionRange argument but really just need the 20 most recent messages which I can’t predict on date alone. Thanks! ...

Check to See if File is in Repository with SharpSVN

How do I check if a file is already in a repository (or NOT in the repository) so I can determine whether I need to 'add' it first before doing the check in? (For the record, I have check-in working, but I get an exception when I try to check in a file that has not yet been added to the repository.) ...

How to use SharpSVN in ASP.NET?

Trying to use use SharpSVN in an ASP.NET app. So far, it's been nothing but trouble. First, I kept getting permission errors on "lock" files (that don't exist), even though NETWORK SERVICE has full permissions on the directories. Finally in frustration I just granted Everyone full control. Now I get a new error: OPTIONS of 'https://...

How can I Diff a Svn Repository using SharpSvn

Hello, My question is quite simple and with the SharpSvn Api, it should be easy as well. Here what I did: path = "c:\project"; using (SvnLookClient client = new SvnLookClient()) { SvnLookOrigin o = new SvnLookOrigin(path); Collection<SvnChangedEventArgs> changeList; client.GetChanged(o, out changeList); // <-- Exception } ...

Is it possible for SharpSvn to retrieve log messages by author?

As per the title of the question, I’m wondering if there’s any mechanism to invoke GetLog with an author parameter. Nothing is jumping out at me in the documentation either for GetLog or SvnLogArgs. Does anyone have any thoughts on this? Alternative suggestions on how to do this are welcome. ...

How to get th author of the current commit in a folder with SharpSVN

Is it possible to get the author of the current commit of a folder with SharpSVN. So doing this without retrieving the log file of the svn server. I tried: client.TryGetProperty(folder, SvnPropertyNames.SvnAuthor, out AuthorStr); but the AuthorStr string is null. ...

Problem with commit in sharpsvn

Hi,I'm a programmer in china. I want to commit the changes of a working copy in my computer to the repository. The repository is in an URL and i´m doing this now: using (SvnClient client = new SvnClient()){ string path = @"C:\testdelete\test.java"; client.Delete(path); client.Authentication.Clear(); ...

Commiting and get specific revision

I work with sharpSVN,i need 2 things: 1) I need to get a revision with specific logmessage 2) When I commit my revision, I want to show every file, that is commiting. I find an event commiting, but I don't know how it works(Commiting and get specific revision) ...

SharpSvn: Getting repository structure and individual files

I'm trying to build a simple ;) repository browser into a web application and have been looking into using SharpSvn to help. I can find all the usual physical commands, like update, commit, that would actually make changes to the repository or a working copy but am struggling to find a way to query a repositories structure or contents. ...

How to get a list of revision using sharpsvn

How do I get a list of revisions from sharpsvn ...

SharpSvn marks file as missing but I need deleted

I want to delete file in svn. I do this so: svnClient.Delete( pathToFile, new SvnDeleteArgs {Force = true} ); When I want to commit chenges, in svn file status is 'missing', but I need 'deleted'. What I do wrong? ...

Multiple CheckOut or Multiple Commit .

Hello sorry for my English ... I'm using Visual studio 2008 with C# and SharpSVN dll (for Subversion 1.6) I wish to commit to multiple different folders in my repository, but without having to checkout the entire repository. I tried using the method: SVNClient.Commit (ICollection coll, CommitArgs ca); Where eg coll [0] = "c:\svnChe...

SharpSVN Example Program Crashes

I downloaded the SharpSVN example they give to try and test it out but I get this error when I try and run it. System.BadImageFormatException {"Could not load file or assembly 'SharpSvn, Version=1.4999.376.29668, Culture=neutral, PublicKeyToken=d729672594885a28' or one of its dependencies. An attempt was made to load a program with an i...

SharpSVN and C# Problem

When trying to add SharpSVN to my C# project, compiling with SharpSVN related calls gives me this error: FileLoadException was Unhandled Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. What I did was add the References from th...

Retrieving SVN log files with SharpSVNs client.diff(uri, range, ouput) in no way edits the repository right?

I have been using SharpSVN and love it but I wanted to make sure that the .GetLogs() and .Diff() functions in no way actually edit data on the repositories. These things just get you the information stored in the logs as if you were repo-browsing and looking at the logs through something like TurtoiseSVN right? Thanks. ...