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
2 answers

how can i get full repository path from SvnClient object?

is there a way to get full path of repository from an svn object? when i use .path or .pathRepository method i get only relative path of the file
snup
  • 13
  • 3
1
vote
1 answer

Not all required revisions are specified sharpsvn

I am attempting to do a merge using SharpSVN. A bit of research and I have learned the SharpSVN supports the MergDiff function, however when I attempt the code as listed below I am getting an error message of not all required revisions are…
Marcco
1
vote
2 answers

SharpSvn: The proper way to restore a deleted file

Please consider the following scenario: 1. User A creates and commits a file (lets say file1.txt). 2. User B deletes this file from the repository. 3. User A has the file in his local working copy and would like to restore it. The user finds that…
Noich
  • 14,631
  • 15
  • 62
  • 90
1
vote
2 answers

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…
fizch
  • 2,599
  • 3
  • 30
  • 45
1
vote
1 answer

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…
Sam F
  • 621
  • 1
  • 8
  • 16
1
vote
1 answer

How can I find the lock owner with SharpSVN?

We are running VisualSVN on Windows 2012. I have been tasked with preventing the stealing of locks. I want to use a pre-unlock hook. To start, I want to compare the lock owner's name to the lock-breaking user's name. I can find the lock owner on…
mrcoulson
  • 1,331
  • 6
  • 20
  • 35
1
vote
1 answer

Retrieve information from SVN Repository contains special characters

I am using SharpSVN to connect and retrieve information from Visual SVN Server by C#. But on SVN Server, a Repository have folder with the name is C# and when read to this folder, exception occurred: Additional information: URL 'https://<…
Neo
  • 1,469
  • 3
  • 23
  • 40
1
vote
1 answer

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

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…
Sam F
  • 621
  • 1
  • 8
  • 16
1
vote
0 answers

Get the byte array of file in repository

Is it possible to get the byte array of a file from repository using SharpSVN? I have a file which I put into a repo but for security I want to compute the MD5 before and after upload. To achieve it i must have byte array of file.
giluu
  • 11
  • 2
1
vote
1 answer

Getting readable progress from SharpSVN

Currently trying to get the progress of a checkout from SharpSVN, right now, I'm using a backgroundWorker and adding a function to the SvnClients Progress event, but the "progress" reported by the event is not in 0-1 or 0-100 format. The final…
Fluzzarn
  • 55
  • 1
  • 6
1
vote
2 answers

How to use SharpSVN to modify file xml and commit modified file

am a SharpSVN newbie. We are currently busy with rebranding, and this entails updating all our reports with new colours etc. There are too many reports to do manually, so I am trying to find a way to find and replace the colours/fonts etc in one…
1
vote
1 answer

How to get a file content or download it through SharpSVN

I'am using SharpSvn to connect to an SVN server . I would like to get the content of a file or to copy it my disk just by using it Uri on the server. Does SharpSVN API offers this functionality. if it is, how ? thanks. example of Uri :…
AtefB
  • 171
  • 1
  • 3
  • 16
1
vote
1 answer

SVN COPY error: 501 Method Not Implemented

We've been using VisualSVN (standard edition) for a few years without any problems. We have a C# application which stores data in SVN. It uses SharpSvn (https://sharpsvn.open.collab.net) library for SVN access. Occasionally, the application executes…
kazakm
  • 31
  • 4
1
vote
2 answers

How to get th author of the current commit in a folder with SharpSVN

Is it possible to get the author of the current commit of a folder with SharpSVN. So doing this without retrieving the log file of the svn server. I tried: client.TryGetProperty(folder, SvnPropertyNames.SvnAuthor, out AuthorStr); but the AuthorStr…
Sybren
  • 13
  • 2
1
vote
0 answers

Getting files to be committed code problems

BACKGROUND: What I am trying to do is output a list of files which are unversioned or have had changes done to them and need to be commited. WHAT IVE TRIED: I am currently using the code below, the code runs but nothing is outputted to the console.…
NoLiver92
  • 882
  • 3
  • 15
  • 39