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

Subversion connection with C # in Visual Studio 2010

I am using to connect the library with subversion Sharpsvn but I always get an error. The code is as follows: SvnClient client = new SvnClient(); string targetSource = "http://xxxxxxx/svn/xxxx/xxxx/"; string uriDest = "C:/Documents and…
Jesús
  • 21
  • 1
  • 2
2
votes
2 answers

Getting "mergable revisions" with SharpSvn

When setting up a merge, the TortoiseSvn client has a wonderful checkbox labeled "Hide non-mergable revisions". I'm looking to reproduce the list of revisions that shows up when it's enabled using SharpSvn. The TortoiseSvn documentation explains…
Bobson
  • 13,498
  • 5
  • 55
  • 80
2
votes
1 answer

Using sharpsvn with a local repository

I'm using sharpsvn dlls for .NET. I'm new to using subversion, and I'd like my repository to be on a filesystem and not on a remote server. Is it possible to use sharpsvn like this? I mean, have it checking out from c:\somewhere to…
Noich
  • 14,631
  • 15
  • 62
  • 90
2
votes
0 answers

SharpSvn revert

I am trying to revert a file/directory to a specific version with the help of SharpSvn. My current approach is working almost perfectly. The problem is that when I ask SVN to give me some information about the recently reverted file, it always…
Carsten Franke
  • 1,649
  • 2
  • 13
  • 30
2
votes
1 answer

Cause of SharpSVN Exceptions popping up what appears to be randomly when trying to Export?

I know something is going on, but I cannot determine why and the Exception strings are so vague... I have no clue why some things are failing and why some are not. These exceptions occur when I attempt to Export a file at a revision to the file…
Sam F
  • 621
  • 1
  • 8
  • 16
2
votes
1 answer

SharpSVN - SvnLookClient.GetPropertyList - Show Inherited Properties?

The svnlook command has a --show-inherited-props option that will include the inherited properties of the path specified. With SharpSVN, this SVN command is wrapped by a method in the SvnLookClient class called GetPropertyList. One of the…
Luke Lengl
  • 110
  • 1
  • 9
2
votes
4 answers

What is the quickest way to check if an svn working copy has changes?

I want to add information to assembly on build if the working copy is modified (with exception to from ignore-on-commit changeset), but I'm afraid checking all changes using SharpSVN might slow down the build in a 100MB working copy with 1000+…
mrówa
  • 5,671
  • 3
  • 27
  • 39
2
votes
4 answers

How to get a list of revision using sharpsvn

How do I get a list of revisions from sharpsvn
Chris Meek
  • 5,720
  • 9
  • 35
  • 44
2
votes
1 answer

How to get SVN repository structure and make search about files and subdirs through web application

I am building a web application to check files and folders existance in SVN repository, I have to access to the repository structure and search files in subdirs. Access is through network. NB : There is no local connection to svn respository, it's a…
AtefB
  • 171
  • 1
  • 3
  • 16
2
votes
1 answer

How to Get Data of Files From SVN using SharpSvn

For example in Svn there is a file test.txt that contains 'Welcome'. Instead of exporting the file , I want data inside the file , that is 'Welcome'. Because i want to save it in Sql Server as byte.Thanks In advance.
Karthikeyan
  • 333
  • 5
  • 17
2
votes
1 answer

Is it possible for SharpSvn to retrieve log messages by author?

As per the title of the question, I’m wondering if there’s any mechanism to invoke GetLog with an author parameter. Nothing is jumping out at me in the documentation either for GetLog or SvnLogArgs. Does anyone have any thoughts on this? Alternative…
Troy Hunt
  • 20,345
  • 13
  • 96
  • 151
2
votes
0 answers

Applying, commiting or reverting pending changes with SharpSVN library

I am trying to write a simple app in C# for source controling database files using SharpSVN library and have some problem implementing atomic commits. This is the workflow i have in mind: User changes some files in database locally Compares to…
Fjut
  • 1,314
  • 12
  • 23
2
votes
2 answers

Retrieving the last n log messages with SharpSvn

Does anyone how to retrieve the last n log messages from SVN using SharpSvn? I’ve been calling GetLog with an SvnRevisionRange argument but really just need the 20 most recent messages which I can’t predict on date alone. Thanks!
Troy Hunt
  • 20,345
  • 13
  • 96
  • 151
2
votes
1 answer

I am getting SvnRepositoryIOException: OPTIONS while trying to access the repository using sharpsvn in asp.net 3.5

OPTIONS of 'http://websvn.tigris.org/svn/websvn': Could not resolve hostname `websvn.tigris.org': No such host is known. (http://websvn.tigris.org)
Vanita
  • 21
  • 1
2
votes
1 answer

SharpSVN overwrite existing files and folders

I have to following directory structure on the local machine before the inital checkout: base_dir/somefolder/someotherfolder/file.txt After the checkout I want the…
Stuffy
  • 302
  • 3
  • 15