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
4
votes
5 answers
"Could not load file or assembly"/ "or one of its dependencies. The module was expected to contain an assembly manifest."
I have a c# application which uses SharpSVN dll and NServicebus dll,it compile fine but when it is executing(in the time of initialize the bus) it throw the following error
Could not load file or assembly…

Susanta Samanta
- 51
- 1
- 4
3
votes
1 answer
Implement a faster svn cat with SvnClient
I'm looking for a faster way to retrieve files from SVN than svn cat in .NET.
Currently I'm running a svn cat process for each revision, but it's extremely slow.
Then I've tried with SvnClient:
Stream st = Console.OpenStandardOutput();
…

pablo
- 6,392
- 4
- 42
- 62
3
votes
0 answers
sharpsvn diff - how to ignore spacing / whitespaces
I'm using the sharpSVN API to among others to find out about changes in a repository. Therefore I use the method Diff of the SVNClient class in the following way:
using (SvnClient client = new SvnClient())
{
MemoryStream diffResultStream = new…

Toby
- 570
- 2
- 8
- 23
3
votes
1 answer
How to set author of SVN commit using SharpSVN library in c#
I use SharpSvn library from CollabNET. I would like to set revision author while commiting, but I always end up with a commit with my Windows user name.
This does not work for me:
System.Net.NetworkCredential oCred = new
…

Tom Smykowski
- 25,487
- 54
- 159
- 236
3
votes
1 answer
C# How to properly reverse merge using SharpSVN
With my application, I am trying to revert the project back to a previous revision. I have the revision number that I was able to obtain, I have the local target, and the URL of the repository. My code is as follows:
SvnMergeArgs mergeArgs = new…

dangerisgo
- 1,261
- 3
- 16
- 28
3
votes
1 answer
SharpSVN and new/modified files in a revision
How is it possible to get list of all files (path/name only) which has been added or modified in a specific revision?

Babak
- 3,716
- 6
- 39
- 56
3
votes
2 answers
Current Revision of the working directory in SharpSVN
How to get the current revision of
the working directory?
How to get a specific revision of a
file from the repository's server?

Babak
- 3,716
- 6
- 39
- 56
3
votes
1 answer
SharpSVN commit of multiple targets gives "-dir- is not a working copy' error
I have some files that I want to commit:
C:\Dir1\Dir2\Data\dfile1.txt
C:\Dir1\Dir2\Tools\tfile1.xml
When I try to use svnClient.Commit(ICollection) for the above paths, I get 'Dir2 is not a working copy' error.
However, if I commit them one by one…

DeeStackOverflow
- 2,741
- 4
- 23
- 23
3
votes
1 answer
How to programatically in c# get the latest top "n" commit messages from a svn repository
I'd like to build a site which simply displays the top latest (by date, revision?) "n" commit logs plus other associated info.
What's the best way to do this? I started having a quick look at SharpSvn, but the GET seems to be based on Revision…

andy
- 8,775
- 13
- 77
- 122
3
votes
0 answers
How can we clean up unversioned files
I am using SharpSvn to work with svn in my C# project. At the moment, I want to clean up everything( including change/unversioned files ) before checkout news from svn.
I already call SvnClient.Revert() and SvnClient.Cleanup(), but it's seem that…

Nhan Phan
- 1,262
- 1
- 14
- 32
3
votes
4 answers
Commit file in SVN without working copy using SVN uri path
I'm new to SharpSVN, i have a aspx page in which i need to display a file content from SVN, change the content and commit the file in SVN from memorystream without working copy. I am able to get the file content using memorystream and display in web…

BABA
- 267
- 4
- 7
- 15
3
votes
1 answer
Using the method SVNClient.Diff Diff (SvnTarget target, SvnRevisionRange range, Stream results)
Given two different revisions need to get the differences between them, I intend to use the method duvuelve Diff but I anything as a result, it could be? Thanks.
My code is as follows
using (SvnClient client = new SvnClient())
using (MemoryStream…

Luismel
- 31
- 1
- 2
3
votes
3 answers
Pre-commit hooks in C# with SharpSVN
I'm new to SharpSVN (and frankly--pretty new to C# as well). I've been trying get a simple pre-commit hook working which checks for a comment. (i.e. the commit fails in the absence of a comment)
There are several posts (like this one) which are…

Dendrite
- 33
- 6
3
votes
0 answers
SharpSvn GetLog of deleted or renamed file / directory (SharpSvn Revision pegging)
I am using SharpSvn client in one of my projects. I have a use-case where I need to display the history of a given file or folder. I am using the SharpSvn "GetLog" method for this. However, when I try to to list the revision log for each of the…

Joe Varghese
- 59
- 1
- 9
3
votes
4 answers
Removing zombie locks in Subversion
I'm trying to find a way to remove zombie locks using the Subversion command line tools. The eventual goal is to do this from a hook script, but I haven't been able to work out the command line to use when you only have a physical repository path. …

ThatBlairGuy
- 2,426
- 1
- 19
- 33