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
0 answers
Combining multiple SVN repositories while maintaining chronological history
I have been trying to find a way to combine multiple SVN repositories into a single repository while maintaining overall chronological history. I currently have a folder with only the dumps of each repository. I am using SharpSVN to create a helper…

trineroks
- 11
- 2
1
vote
2 answers
C# SVN Pre Commit Hook, SharpSvn error
I have a C# console application that I use as an SVN Pre Commit Hook. The console app is started perfectly. However, as soon as I try to do a Write using SharpSvn, I get this error:
Commit failed (details follow):
Commit blocked by pre-commit hook…

MartinHN
- 19,542
- 19
- 89
- 131
1
vote
3 answers
How can i get the svn log message
using (SvnClient client = new SvnClient())
{
client.Commit(_targetPath, commitArgs);
SvnInfoEventArgs result;
client.GetInfo(_targetPath, out result);
SvnLogArgs args = new SvnLogArgs();
args.Start = new…

Iori
- 19
- 3
1
vote
1 answer
Build URI from string with special characters (SVN folder)
I need to remotely create directories on an SVN repository.
The folders can contain special characters e.g. the vendor, driver and version directories in my example can contain one or more plus ("+") characters.
DoDontEscape() just combines the…

BertAR
- 425
- 3
- 18
1
vote
1 answer
How to use sharpSvn to exclude files which i don't want to commit via c#?
i have tried to exclude in svn property and global-ignore list but all failed, is there any way to do this in coding via c#?

Iori
- 19
- 3
1
vote
1 answer
sharpsvn Commit fails with missing item
I am trying to use SharpSvn to programatically commit my working copy changes to a repository. Unfortunately, I receive the following error message: "Error during commit: 'SomeFile' is scheduled for addition, but is missing." (please note that I…

royalTS
- 603
- 4
- 22
1
vote
1 answer
How to Get Head or Last Commit revision of a file in SharpSVN
I need to read the head version (or last commit) version of a file.
with this approach i get the head version of my working copy,
string workingFolder = @"C:\trunk\Projects\XML\English.xml";
SvnWorkingCopyClient workingCopyClient = new…

this-Me
- 2,139
- 6
- 43
- 70
1
vote
1 answer
SharpSvn - how to save changes from MemoryStream without working copy
I have this code which gets a uri's content into a MemorySream:
MemoryStream ms = new MemoryStream();
SvnTarget target = new SvnUriTarget(new Uri(webConfigUri));
client.Write(target, ms);
string webConfigText =…

Dave
- 5,283
- 7
- 44
- 66
1
vote
1 answer
Check if directory is external using SharpSvn
I am currently trying to determine if a directory within a working copy is an external or not using SharpSvn. For a file it is quite easy, since there is the option IsFileExternal in the SvnStatusEventArgs, but for a directory it seems to be not…

royalTS
- 603
- 4
- 22
1
vote
2 answers
Problem with to read a file with SharpSVN
I am having an issue with the SharpSVN api. When I try to use SvnClient.Write() or SvnClient.Export(), the following error occurs:
Malformed URL for repository
My code is the following
using(SvnClient client = new SvnClient())
{
…

Guilhermevrs
- 2,094
- 15
- 15
1
vote
1 answer
SharpSvn Notify-Event on Update
I am currently implementing some SVN functionalities in an application. One of them is the "svn update".
Unfortunately, the outputs from the "svn update" command in a command line and from the Notify event regarding the files that have changed are…

royalTS
- 603
- 4
- 22
1
vote
2 answers
How to get list of uncommitted files from SharpSVN
Using SharpSvn, how can I get a list of files that need to be committed (the list that you would see if you right click on a folder with tortoisesvn and hit commit)
I tried this:
SharpSvn.SvnClient client = new SharpSvn.SvnClient();
…

Mr Bell
- 9,228
- 18
- 84
- 134
1
vote
1 answer
How to get application and branch name from a Svn revision number?
Hi all you clever people!
Given the revision number of any application in my SubVersion repository, how can I (using SharpSvn):
Determine which application name the revision number identifies?
Determine if it is a trunk or a branch…

Martin Christiansen
- 1,037
- 3
- 9
- 28
1
vote
1 answer
SVN "Unable to locate auth file"
I have an ASP.NET application which uses SharpSvn (SharpSvn.1.9-x86.1.9005.3940.224). The application runs on a Windows Server 2012 R2 with IIS 8 with its own application pool.
The SVN server itself is VisualSVN Server 3.6.0. This server is setup to…

Carsten Franke
- 1,649
- 2
- 13
- 30
1
vote
1 answer
How do you recursively revert changes in a working copy using SharpSVN?
I have a project that will automatically merge and commit from a list of user-selected revisions from one branch to another. If a merge conflict occurs, the process is aborted and the working copy is reverted.
However, when I go to try again and…

Kcoder
- 3,422
- 4
- 37
- 56