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
6
votes
1 answer
How can i create a branch in svn using SharpSVN
I am using SharpSVN to access my subversion repository using SharpSVN, i need a means to create a branch programatically using SharpSVN, how is this done!!

Pramod Pallath Vasudevan
- 809
- 11
- 23
6
votes
1 answer
SharpSVN authentication without affecting TortoiseSVN credentials
I'd like to use SharpSVN with a different user of TortoiseSVN.
I'm using VisualSVN as server and I'm connecting to VisualSVN using https. In TortoiseSVN the url is https://.
Reading around I've found some possible…

bubi
- 6,414
- 3
- 28
- 45
6
votes
2 answers
Why is SharpSVN SvnClient.Export(...) not always finding files that should be there?
I am using the Export() member function to obtain files at specific revisions which is working but for some reason in other cases it is not. For all the modified paths it seems to be working however with the deleted and sometimes added files in that…

Sam F
- 621
- 1
- 8
- 16
6
votes
3 answers
How can I view the changes made after a revision is committed and parse it for comments?
I was hoping to automate some tasks related to SubVersion, so I got SharpSvn. Unfortunately I cant find much documentation for it.
I want to be able to view the changes after a user commits a new revision so I can parse the code for special…

user38013
- 3
- 2
- 3
6
votes
3 answers
How to get all branches of repository with SharpSvn?
I'm trying to get all branches of repository by using SharpSvn but I can not find any method can do it.
Is it possible to get all branches by using SharpSvn?

handle0088
- 71
- 1
- 4
6
votes
1 answer
SharpSVN doesn't update files
SvnUpdateArgs asdf = new SvnUpdateArgs();
asdf.AllowObstructions = false;
asdf.Depth = SvnDepth.Infinity;
asdf.IgnoreExternals = false;
…

animekun
- 1,789
- 4
- 28
- 45
6
votes
1 answer
SharpSVN Working Copy Locked (cleanup doesn't clean)
I am using SharpSVN as part of a server-pull solution. The program reads a revision from a config file, if it doesn't match, it updates to the specified revision.
This seems to be working correctly on my developer machine, but when I push it up…

JGG Xm8
- 71
- 6
6
votes
2 answers
Reading the contents of a file in sharpsvn
I'm trying to read the contents of a .csproj file using sharpsvn, but I seem to be always getting an empty file back.
Here is my code:
MemoryStream myOut = new MemoryStream();
svnClient.Write(path, myOut))
return…

RJP
- 4,016
- 5
- 29
- 42
5
votes
3 answers
Add file using SharpSVN
I would like to add all unversioned files under a directory to SVN using SharpSVN.
I tried regular svn commands on the command line first:
C:\temp\CheckoutDir> svn status -v
I see all subdirs, all the files that are already checked in, a few new…

jan
- 1,581
- 2
- 19
- 34
5
votes
1 answer
why do I need SharpSvn-DB44-20-win32 and SharpSvn-Sasl21-23-win32 as separate DLLs?
I'm using SharpSVN as part of a FluentMigrator branch (to add in source control calls to FM). When I build, I find that these two assemblies are required to get the code to compile:
SharpSvn-DB44-20-win32
SharpSvn-Sasl21-23-win32
I'm wondering why…

jcollum
- 43,623
- 55
- 191
- 321
5
votes
3 answers
How to use SharpSVN to (quickly) check if a remote folder/file exists on the server
Say i have a svn repository at https://www.mysvn.com/svn/. How can i use SharpSVN to figure out whether the remote folder https://www.mysvn.com/svn/a/b/c exists on the server?
I need to do it an a way that allows me to tell the difference between a…

Ziphnor
- 1,022
- 1
- 8
- 17
5
votes
1 answer
How do I use SharpSVN to programatically "add to ignore list" for a folder
How do I use SharpSVN to programatically to add a folder to the ignore list?
EDIT: Attempted:
Here's what I've tried
svnClient.GetProperty(new SvnUriTarget("svn://svn.foo.com/" + DatabaseName + "/"), SvnPropertyNames.SvnIgnore, out ignores);
ignores…

Myster
- 17,704
- 13
- 64
- 93
5
votes
2 answers
How can I get started with SharpSVN?
Are there any good resources and sites related to developing with SharpSVN and normal SVN/VisSVN?
I've so far only come across a few samples that deal more with JIRA.

Chris McKee
- 4,298
- 10
- 48
- 83
5
votes
2 answers
In SharpSvn, what's SvnClient.getinfo return value?
In SharpSvn's documentation I found (here), the return value of SvnClient.getinfo (boolean type) is missing. Can anyone help with that?
Thanks.

asherbret
- 5,439
- 4
- 38
- 58
5
votes
3 answers
Can't read root
So I'm using SharpSVN(SharpSvn.1.7-x86 1.7008.2243) and I keep running into a problem. Every time I try to use the SvnWorkingCopyClient on a repo that's at the root of a drive( for example say I have the D:\ drive, and it itself is a repo) it throws…

Kelly Elton
- 4,373
- 10
- 53
- 97