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 ...
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 ...
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...
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...
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...
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...
Hi, I'm trying to get the original revision of repository with SharpSvn? Is there any method in SharpSvn can help me? Thanks. ...
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...
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. ...
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...
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....
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. ...
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...
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...
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...
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? ...
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...
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 :) ...
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...
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! ...
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...