SharpSvn is a binding of the Subversion Client API for .Net 2.0-4.0+ applications contained within a set of xcopy-deployable dll's
Questions tagged [sharpsvn]
309 questions
1
vote
2 answers
How can I get the diff detail (display whole file) of two version by use SharpSVN?
SVNClient.diff method seems just can get the differences result, and it would not show all the code.
All I want is to compare two versions like SVN show.
PS: Does method GetDiffSummary just show the summary status(modified, delete, etc...) of each…

dennybi
- 11
- 3
1
vote
1 answer
What is the meaning of the SVN statuses ContentStatus, NodeStatus, PropertyStatus, TextStatus?
I am writing a hookscript for TortoiseSVN using C# and SharpSvn.
It needs to get a list of external files/dirs that have been modified. I am using the method SvnClient.Status() that recursively returns SvnStatusEventArgs objects. These objects have…

m_frh
- 11
- 1
1
vote
2 answers
How can I Diff a Svn Repository using SharpSvn
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);
…

AngeDeLaMort
- 63
- 1
- 4
1
vote
1 answer
Read file content directly from SVN repository
I want to write an application which looking from a string token in all of the text files under a specific path of SVN repository, and returns all the files that contain this token. I use sharpsvn for this application. I know how I can get the paths…

user475108
- 31
- 1
- 2
- 5
1
vote
2 answers
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…

JasCav
- 34,458
- 20
- 113
- 170
1
vote
1 answer
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…

Pedro
- 65
- 3
- 5
1
vote
0 answers
SharpSVN: Set timeout on connecting an offline server
I'm currently facing the problem that users try to connect to an offline SVN server (or simply use misspelled URLs). So I'd like to implement a cheap Ping(Uri) function.
I thought the follwing SharpSVN method might be the right…

Marcel
- 1,002
- 2
- 16
- 37
1
vote
2 answers
Problem with commit in sharpsvn
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())
{
SvnCommitArgs ca = new SvnCommitArgs();
…

Pedro
- 65
- 3
- 5
1
vote
1 answer
SharpSVN: SvnDepth.Exclude throwing exception
Below is some code to exclude a folder from a working copy (an ancestor folder). "r" is showing an System.InvalidOperationException when I break on that line. Does Exclude work? What is my alternative to this option when using the SharpSVN .NET…

JustBeingHelpful
- 18,332
- 38
- 160
- 245
1
vote
1 answer
Is it possible to set custom properties to a SVN repository?
I am using the SharpSVN API to interact with Subversion repositories created with VisualSVN Server software.
I know that it is possible to set custom properties to revisions but I'm wondering if we can do the same for a repository.
For example my…

JulienVan
- 881
- 1
- 11
- 30
1
vote
0 answers
SharpSVN: How to export several files from repository using a single command?
I have developed an application using SharpSVN API and .NET 4.0, where the user browses and selects some files from a SVN repository for a specific revision. Then the files are exported one by one in a temporary folder and zipped.
I am executing the…

JulienVan
- 881
- 1
- 11
- 30
1
vote
1 answer
SharpSVN - How to set revision custom properties on commit
I tried the below code to set a custom property called "myprop" to a revision during commit:
using (SvnClient client = new SvnClient())
{
SvnCommitArgs ca = new SvnCommitArgs();
ca.LogProperties.Add("myprop", "myval");
…

JulienVan
- 881
- 1
- 11
- 30
1
vote
1 answer
SharpSvn - Exception from whitespace in path
I'm receiving an exception from SharpSvn's client when I try to perform some operations if the specified repository sub-path has a whitespace character in its directory name, ie.
https://svn.mycompany.com/repos/myteambld/MyFolder1/My Folder…

TodoCleverNameHere
- 539
- 4
- 16
1
vote
1 answer
Svn force export using c#
I am trying to export files or folders from SVN using c#.
I used the SharpSvn lib.
SharpSvn.SvnClient svnclient = new SvnClient();
svnclient.Export(new SvnUriTarget(source), target, new SvnExportArgs());
I have been trying to export the source to…

user3032675
- 15
- 5
1
vote
1 answer
Locate first occurance of line with SharpSVN?
Is there any easy way to determine which commit a specified line of a file was last modified, with SharpSVN?
Let's say I have the following three commits:
Commit 1:
Hello
Commit 2:
Hello, World!
Commit 3:
Hello, World!
Hi There :D
I'd be looking…

MatthewSot
- 3,516
- 5
- 39
- 58