Questions tagged [sharpsvn]

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

309 questions
3
votes
3 answers

How can I use SharpSVN in my own Mono (c#) project?

I would like to use the SharpSVN library to access SVN API, how can I access the SharpSVN namespace from my code? I downloaded the library, it doesn't seem to be code files, but some DLLs, some .exe/.xml. Thanks!
nubela
  • 1
  • 24
  • 75
  • 123
3
votes
1 answer

SharpSVN: Unable to connect to a repository at URL | Access Forbidden

client.Authentication.DefaultCredentials = new NetworkCredential("login", "pswd", new…
animekun
  • 1,789
  • 4
  • 28
  • 45
3
votes
1 answer

Cannot programmatically delete SVN working copy

I am using the SharpSvn library in an application. As part of my automated integration tests, I create a test repository, check out a working copy, perform some tests, and then delete both the repository and working copy folders. However, a simple…
Wim Coenen
  • 66,094
  • 13
  • 157
  • 251
3
votes
1 answer

How to Detect svn file/folder renames or moves with SharpSvn?

How can I to detect subversion file/folder renames or moves when doing comparisons between revisions? How can I distinguish them from a "normal" add and delete?
Nathan
  • 10,593
  • 10
  • 63
  • 87
3
votes
1 answer

Accessing svn:mergeinfo via SharpSvn

I'm using SharpSvn to get the log for a repository. For each log entry I can access useful info about the files that have changed (via SvnLogEventArgs.ChangedPaths), but I can't figure out how to get the svn:mergeinfo property. Any ideas? Thanks
Akash
  • 2,311
  • 1
  • 20
  • 37
3
votes
1 answer

Delete local SVN authentication credentials with SharpSVN

I’m using SharpSVN. I have to delete the SVN authentication credentials stored in the PC. I try with using (SvnClient client = new SvnClient()) { // Clear predefined handlers and previous authentication client.Authentication.Clear(); } it…
Caesar
  • 281
  • 4
  • 13
3
votes
1 answer

Save locally SVN authentication credentials with SharpSVN

I’m using SharpSVN. I want to store the SVN credential in pc. I have try to set credentials updating default credentials using (SvnClient client = new SvnClient()) { client.Authentication.DefaultCredentials = new…
Caesar
  • 281
  • 4
  • 13
3
votes
1 answer

How to use a proxy in the SharpSVN client

i use SharpSVN in my app to check out a repository from a http server. I'm behind a firewall and need to use a proxy server to connect. Can i set this and when, where is it? Thanks. Andreas
katarch
  • 61
  • 6
3
votes
2 answers

sharpsvn logmessage edit sharpsvn?

use the sharpsvn. The specific revision logmessage want to change. It is implemented like '[show log] -[edit logmessage]' of svn. I am awkward in English. so, to help you understand. my code is attached. public void logEdit() { …
3
votes
3 answers

Using the current HTTP request identity as the default credentials for SharpSVN

I’m trying to call RemoteCreateDirectories in SharpSVN through a web app and want the credentials to be that of the logged on user. Can this be done implicitly or is the username and password required as per the example below? using (var svnClient…
Troy Hunt
  • 20,345
  • 13
  • 96
  • 151
3
votes
2 answers

Allowing the local aspnet account to excute SharpSvn.CreateRepository

I’ve got an ASP.NET web app which is trying to execute the CreateRepository method within SharpSvn so that new repos can be provisioned through a web interface. Everything runs fine when executing the app from within Visual Studio as it’s running…
Troy Hunt
  • 20,345
  • 13
  • 96
  • 151
3
votes
3 answers

SharpSVN get post-commit-hook with 'SvnLookClient'

I'm trying to figure out how to get the commit message for a particular revision. It looks like SvnLookClient is probably what I need I found some code here on SO that looks like what I need but I seem to be missing something.. Code I found (here on…
KevinDeus
  • 11,988
  • 20
  • 65
  • 97
3
votes
1 answer

SharpSVN Path Problem

Having a problem with SharpSVN (1.5 and 1.6) checking out code. (Note, I also have Tortoise 1.5 installed on my machine) This same code has worked previously, so I don't know why things might have broken. using (SvnClient client = new…
KevinDeus
  • 11,988
  • 20
  • 65
  • 97
3
votes
2 answers

Does SharpSVN have an API to manage repository permissions

Does anyone know if there is any API exposed to manage repository permissions within SharpSVN? For example, programatically adding read and write permissions on a per repository basis. Alternatively, any other thoughts on managing permissions with…
Troy Hunt
  • 20,345
  • 13
  • 96
  • 151
3
votes
2 answers

How to check if the subversion URL is file or a directory using sharpsvn

First things first - I am sorry if you think this question is utterly stupid. I am working on an application wherein the user can enter a SVN URL. It can either be a Directory or a file. I am using sharpsvn. My aim is to somehow know if this url…
Gagan
  • 5,416
  • 13
  • 58
  • 86