sharpsvn

SVN Repository Authentication using SharpSVN

Can any one tell me how to authenticate users(SVN users) for a repository using SharpSVN Library. That repository should only be committed by those users. Thanks ...

c# SharpSVN, how does one get a copy of specific revision files?

Hello, I was looking for something in SharpSVN that will do the equivalent of "Save revision to..." in the TurtoiseSVN GUI. I have been trying to find out how to do this with no luck. Currently I am looking at: Note: logentry is a SvnLogEventArgs after I called client.GetLog(uri, arguments, out logitems); foreach (SvnChangeItem svnChang...

Why is SharpSVN SvnClient.Export(...) not always finding files that should be there?

I am using the Export() member function to obtain files at specific revisions which is working but for some reason in other cases it is not. For all the modified paths it seems to be working however with the deleted and sometimes added files in that revision I get the exception stating that there is no file at the url used. When I use th...

From what object do you get a revised files properties from SharpSVN [c#]?

Hello, I've been working with SharpSVN for a few weeks now and I was looking to access an individual files properties (at a specific revision) as you can in TurtoiseSVN by clicking on the revision then right clicking on a path and selecting 'Show Properties'. I have looked where I would assume these properties would be located (under a S...

How do you obtain a SvnLogEventArgs childs revision number in SharpSVN?

Hello, I have been working with SharpSVN quite a bit lately and I'm currently trying to obtain all of a revisions children's revision numbers. I see that using SvnLogEventArgs.HasChildren I can verify that they exist but it need the actual numbers of the children below it. I've been looking at the SvnClient object and see a GetMergesMerg...

How to get the original revision?

Hi, I'm trying to get the original revision of repository with SharpSvn? Is there any method in SharpSvn can help me? Thanks. ...

How to add .dll reference to ironpython VS2010 project?

Hello. I have a sharpsvn .net library i want to use in ironpython project. Library is shipped as a .ney .dll file. For C# projects i just add this file to project "Reference" section and after that i can use a library: But for IronPython, the "Reference" section opens very strange window i can't figure out how to add .dll reference t...

Using SharpSVN how can you Export a file memory instead of to the filesystem?

So I know how to export files @ certain revisions to the filesystem (because all of the overloads for Export havie paths in them) but I do not want to have to use the filesystem for ease of access purposes. Is there a way to redirect this to a string or something? Thanks. ...

Using the SharpSVN api are there any methods available to get the number of lines contained in a file at a Revision without Exporting it?

Hello, I was just wondering if I missed anything inside the documentation that would allow me to get the number of lines contained in a file at a certain revision (or even number of lines changed from a SvnChangeItem, that would be nice too) without having to directly export the file to the filesystem and parse through it counting each l...

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

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 execptions occur when I attempt to Export a file at a revision to the file system. Here are the exceptions: SharpSvn.SvnSystemException: Can't move 'C:....\tempfile....

In the SharpSVN API, what does the SvnSslServerTrustEventArgs Save Member exactly do?

I saw that this was used in sample code to accept all the warnings (like certificate warnings) when trying to connect to a repository but I wasn't sure exactly what the Save=true; was specifically doing whether it was saving the fact that these certificates were accepted ect. Any insight would be appreciated. Thanks. ...

SharpSVN is there an easy way to Export a previous version of a file at a revision where it was deleted? [Debunked]

Hello, when going through revisions I would like to download the last version of a file (That has been deleted in the revision the code is at) Right now I have been trying to export the file at the ((revision number I am at) - 1) however that does not always work. Is there an easy way to do this? Thanks. Edit: Well after doing some exte...

compiling a .net application with either a 32-bit or 64-bit dll

I have an application that we wrote here at work that uses the SharpSVN wrapper for SVN. It has served us well of the past few years. However, we have started bringing in 64-bit systems and our application cannot seem to access the SharpSVN dll on these systems. I have downloaded the 64-bit version of the SharpSVN dll and I am wonderin...

Pre-commit hooks in C# with SharpSVN

Hello Everyone, 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 related and helpful, but I have a few fundamental questions that are keepi...

Using sharpsvn with a local repository

Hi all, 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 c:\somewhere-else? ...

SharpSvn giving SASL(-1) error when used on a different server

I am trying to use the SharpSvn library on our build server. On the development machine it works fine but when I put on the build server I get the following error: SASL(-1): generic failure: Unable to find a callback: 2 The code I am using is as follows: public IList<Branch> GetBranches() { using (var client = new Sv...

using sharpsvn client.status in c#

Hi again, I've just read this question, and I have a question about it: How do I set the client to look at a certain repository? In the example there's a use in the working copy's location, so how can the client know where to check for diffs? Thanks :) ...

SVN - http checkout issue

Dear Experts, I have corrected my httpd config file after that I could able succeed the LDAP authentication Now I am trying to checkout the files using the following code SvnClient client = new SvnClient(); SvnCheckOutArgs coArgs = new SvnCheckOutArgs(); bool isCheckedOut = client.CheckOut("http://100.21.45.12:8999/SVN/myrepo/SDT", wo...

SharpSVN: What does "Is Last Invocation Canceled" mean?

Hi, I'm using SharpSVN 1.6 with .Net 3.5. I saw the property IsLastInvocationCanceled in a few SvnArgs (UpdateArgs, CommitArgs etc.), and I couldn't find a documentation on it. Can someone please tell me what does it mean? Thanks! ...

SharpSvn: How can I see Update()'s result?

Hi there, When using a simple command line svn client, if you run update you can see the changes that were made to your working copy. I've been trying to do so in SharpSvn (with C#, .Net 3.5), because I need to see if the Client.Update() operation caused deletion of files, for example. I tried using SvnUpdateResult, but it returns on...