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
1
vote
1 answer

Mixed mode assembly is built against version ‘v2.0.50727′ C# Enterprise architect add-in

I am building an Enterprise Architect add-in using C#. I have to interact with SVN Repository. I am using VS2010 and SharpSVN as library to interact with SVN Repository. my Add-in work fine when I change it to .NET 3.5. But now I have to…
Tahir Nazir
  • 73
  • 1
  • 8
1
vote
1 answer

SVNsharp how to get specified page?

How to get specified page of svn log using SvnClient class in SvnSharp; For example i have secuence of commits with revisions [407, 402, 374, 373, 372, 371, 370, 369, 368, 367, 366, 365, 364] I need to get secound page and page size 5, how to do…
testCoder
  • 7,155
  • 13
  • 56
  • 75
1
vote
1 answer

Setting commit author in SharpSvn .NET library throws SvnRepisitoryIOException exception

If you have experience with using the SharpSvn .NET library, I could use your expertise in setting the commit author during an SVN commit. I've tried a few things, but they all throw an SvnRepisitoryIOException unless the user is saved in…
JustBeingHelpful
  • 18,332
  • 38
  • 160
  • 245
1
vote
1 answer

SharpSvn CreateDirectories

I'm trying to create a website that will automate project setup. I want to create SVN directories using SharpSVN. Here's what I tried: SvnClient svnClient = new SvnClient(); svnClient.CreateDirectories(new[] …
Myster
  • 17,704
  • 13
  • 64
  • 93
1
vote
1 answer

Check local directory is a working copy before updating from svn

I am working on extracting svn repository using c# programming. I have added sharpsvn dll to my project and wrote following code string localFolder= @"C:\Users\Desktop\LocalFolder\Dev\Websites\Service"; SvnClient client = new…
Praveen
  • 69
  • 4
  • 13
1
vote
1 answer

SharpSVN: Interface to Repo Browser

I need to open Repo Browser when the user clicks a button and after the user makes a selection using the Repo Browser, it should return the path selected, similar to open file dialog boxes etc.
Akshay J
  • 5,362
  • 13
  • 68
  • 105
1
vote
1 answer

SharpSVN: Check if the checkout URI is valid or not

I am using sharpSVN to programatically perform tasks such as Checkingout and committing. The user enters the URI to checkout and presses Checkout button. A lot of times user enters invalid URI and when the program attempts to checkout, it throws…
Akshay J
  • 5,362
  • 13
  • 68
  • 105
1
vote
1 answer

SvnSystemException: Can't open file '...\format': Access Denied

im using sharpSvn to get the last version in SVN repository, from own web application. This is how i get last version: (C#) using (SvnClient client = new SvnClient()) { client.CheckOut(new Uri("file://#URL#/"), "c:\\FOLDER"); } When is running…
Fausto Carasai
  • 251
  • 1
  • 6
  • 16
1
vote
2 answers

SharpSvn GetLog ChangedPaths NodeKind is always Unknown

Code using (var svnClient = new SvnClient()) { Collection svnLogEntries; svnClient.GetLog(new Uri("https://DbDiff.svn.codeplex.com/svn"), out svnLogEntries); foreach (var svnLogEntry in svnLogEntries) { …
Tom Hunter
  • 5,714
  • 10
  • 51
  • 76
1
vote
3 answers

Is there a directory bug in SharpSVN SvnClient.Add()?

I'm trying to use SharpSVN to automate Subversion check-ins, but I'm having a problem with the SvnClient.Add() method and I believe it may be a bug. Essentially, .Add() isn't seeing the path as a working copy, however,…
Taylor Gerring
  • 1,825
  • 1
  • 12
  • 17
1
vote
2 answers

SharpSvn GetFileVersions and GetContentStream throws InvalidOperationException

I'm trying to use SharpSvn to get the contents of a file at a particular revision. I have the following code: var svnClient = new SvnClient(); var revisionInfo = new SvnFileVersionsArgs { Start = 80088, End = 80093 …
Tom Hunter
  • 5,714
  • 10
  • 51
  • 76
1
vote
1 answer

Populate treeview from list in C#

I've made some researches and I found some topic close to my problem, but none of them solved it. populate treeview from a list of…
LolCat
  • 539
  • 1
  • 11
  • 24
0
votes
2 answers

Get creation date for the file with SharpSvn

I'm playing with SharpSvn and have to analyze folder in repository and I need to know when some file has be created there, not last modification date, but when it was created, Do you have any idea how to do that? I started with the following: …
Bohdan
  • 16,531
  • 16
  • 74
  • 68
0
votes
2 answers

How to diff two specified revisions?

I want to know the modified files between two revisions by using SharpSvn . I only want to list filenames and path, not the file contents if possible.
0
votes
1 answer

Get Folder names containing .sln and .java files in SharpSVN using C#

I want to search for .sln and .java files from a given remote URL: something like http://olfandsub1.olf.com/nyts/. I tried the code below used to read all files but it isn't working. Could you please explain what the GetList function does in the…