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
2
votes
1 answer

Writing a pre-commit hook using SharpSvn. Does it lack svnlook propget?

I am rewriting an older subversion precommit hook. In our company, we need to make sure that binary files are allowed on commit only if they have the property svn:needs-lock set before commit. I started writing the hook and it looks like every part…
Daniel Fabian
  • 3,828
  • 2
  • 19
  • 28
2
votes
1 answer

subversion authentication with sharpsvn driver

I've set up my subversion server following the steps on : http://www.codinghorror.com/blog/2008/04/setting-up-subversion-on-windows.html The server is running on my localhost Configurations this is my config file: anon-access = read auth-access =…
Patrick Lorio
  • 5,520
  • 11
  • 45
  • 74
2
votes
0 answers

SharpSVN Add local folder to repository location

I have an application, much like visual studio, in which you can create a solution out of source control, and then add it to souce control. I am using SharpSVN, and I cannont figure out how to add a local set of files to the repository URI…
cab
  • 285
  • 2
  • 10
2
votes
3 answers

SharpSVN error in VS2010

I'm trying to get SharpSVN to work with a VB.NET project I'm working on in VS2010. I've added SharpSVN.dll to my project references but the following error appears when I try to load the site: Could not load file or assembly 'SharpSvn' or one of its…
Kevin
  • 413
  • 1
  • 8
  • 18
2
votes
1 answer

SharpSVN Error from MSBuild

I have the following code to get a list of changed files from Subversion using SharpSVN. The code works perfectly fine from unit tests but fails when run from MSBuild. Both unit test and MSBuild are run using the same parameters (I've checked by…
Ray
  • 45,695
  • 27
  • 126
  • 169
2
votes
0 answers

Not able to connect https server using SharpSvn in C# , Could not connect to server error

I am developing Windows application in VS2010. I am using SharpSVN to connect with subversion repository. I have tried to get the repository items using svnClient.GetList(targetUri, out list); function. It is working fine for local(file\\:)…
Ashok
  • 21
  • 3
2
votes
1 answer

SharpSVN: Recursivly delete "missing" files?

Is there a way to recursively svn delete files in a working copy that have been moved/deleted outside of SVN with SharpSVN? I have a task that runs periodically to commit a directory exactly as it is, but I need files that have been removed to be…
jocull
  • 20,008
  • 22
  • 105
  • 149
2
votes
1 answer

How to create a Branch in SharpSvn

I try to use the SharpSvn library in my VB.Net project to access my SVN repository. I want to create a branch programmatically. This is my approach: Dim trunkUrl As String = "file://sourcecontrol.server/repo/trunk/test-folder" Dim branchUrl As…
Ulli
  • 500
  • 1
  • 7
  • 19
2
votes
1 answer

NullReferenceException in SharpSvn's SvnClient when the supplied DefaultCredentials returns null

I'm using SharpSvn in my project to communicate with SVN. For some SVN repostories, I already know the user name and password, while for others, I don't. Thus, I set the SvnClient.Authentication.DefaultCredentials property to an instance of my own…
The Slicer
  • 509
  • 1
  • 4
  • 9
2
votes
0 answers

SharpSvn creating repository on a SVN server via http(s)

How do I create a repository on a Svn Apache server using SharpSvn library given a valid credential? i.e. creating a repository through http(s) instead of through filesystem. Thanks in advance, and let me know if I'm not making myself clear.
Sleeper Smith
  • 3,212
  • 4
  • 28
  • 39
2
votes
4 answers

How can I "svn delete" a folder and then add a folder with same name?

I wrote a deployment tool for my own programs based on SQL and Subversion. I'm able to create different versions of applications and store them with Subversion while the information for those is stored in SQL. Until my "deployment tool" worked…
Robin Arndt
  • 21
  • 1
  • 2
2
votes
0 answers

SVN credentials does not work

I am using SharpSvn library. I am developing a tool with a lock functionality. To simulate different lock owners, I like to use other credentials. Unfortunately my code does not work. It looks like SharpSvn does not take into account the provided…
BertAR
  • 425
  • 3
  • 18
2
votes
1 answer

SharpSvn Resolve Conflict not works

After updating file from subversion, i try resolve conflict with options: Theirs, Mine or Merged, but the operation not works. I looked the documentation from SharpSvn site and stackoverflow topics, without solution success. My code SvnResolveArgs…
Renan Barbosa
  • 1,046
  • 3
  • 11
  • 31
2
votes
2 answers

Check if folder is versioned in Subversion using SharpSvn

I am using SharpSvn library for accessing Subversion. I have the requirement of checking if a specific folder is part of the subversion repository. After some googling, I found the below code - SvnClient client = new…
kvk938
  • 134
  • 2
  • 8
2
votes
3 answers

Getting an error while attempting to checkout with SharpSVN

While attempting to use the following code, I am receiving the following error : Already working for different url, error code 155000. string targetPath = @"C:\Documents and Settings\Admin\My Documents\CPM Creator\"; //" for…
Marcco