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

SharpSVN: Unable to connect to repository at URL

I'm trying to write a SVN hook in C# that determines the branches a transaction was commited to. Although it is unlikely and defies common sense to commit into multiple branches, I still want to know all the branches involved. That part works pretty…
hoekki
  • 228
  • 1
  • 11
1
vote
1 answer

Updating repository after Checkout with Empty depth

I`m using SharpSVN. How can I split Checkout method logic into two steps: Create an empty svn folder Update to HEAD revision Here is how do I do the first step with SvnDepth.Empty argument var args = new SvnCheckOutArgs() {Depth =…
steavy
  • 1,483
  • 6
  • 19
  • 42
1
vote
2 answers

Thread aborting issue with Sharp Svn with C#.Net 4.0

I have developed ASP.net application using VS-2010, C#.Net 4.0 with SharpSvn dll. When I'm working with dev server(don't have 3-Tier Architecture), it works fine. But when we are working with QA environment(have 3-Tier Architecture) it gives thread…
LittleOne
  • 131
  • 1
  • 4
  • 16
1
vote
1 answer

SharpSVN: GetList command omits Uris if filtered by revision

I'm using SharpSvn.1.7-x64.1.7010.2403 (provided by NuGet) in a .NET 4.0 Console project. The svn list command is used by me frequently: Collection list; client.GetList(new SvnUriTarget("https://dev:8443/svn/test/"), out…
Marcel
  • 1,002
  • 2
  • 16
  • 37
1
vote
1 answer

SvnRevisionRange not taking time correctly

When creating a SvnRevisionRange, range.StartRevision.Time decreases 5 hours to the date time provided. So when getting the log it doesn't retrieve the correct logs since the time is not passed correctly. Can anyone help? SharpSvn version is …
Shak Ham
  • 1,209
  • 2
  • 9
  • 27
1
vote
1 answer

Check updates in specific directory in svn c#

I'm trying to check if a certain svn subdirectory was updated, and if so, update my entire working directory. Here is what I do: SvnClient svnClient = new SvnClient(); SvnWorkingCopyClient workingCopyClient = new…
Idanis
  • 1,918
  • 6
  • 38
  • 69
1
vote
1 answer

How to check if files on svn are the same with the local files C#(sharpsvn)

I'm using the SharpSvn library. I want to check if the files that I have locally are the same with those on the subversion server. Does anyone know how I do this? Currently this is what I'm trying to do but it is saying "Unable to connect to a…
Trustos
  • 41
  • 3
  • 11
1
vote
1 answer

SharpSVN Sync Command C#

I am trying to automate a svnsync init and svnsync sync process via sharpsvn. I am unable to find any documentation regarding svnsync on the provided docs. So far I am able to successfully create a repository by doing this: SvnRepositoryClient src…
kal
  • 305
  • 6
  • 12
1
vote
1 answer

SharpSvn: Why was update of subfolder from Empty Depth Checkout skipped?

I'm having some trouble cherrypicking some folders out of a repo using SharpSvn (from C#). I did this: client.CheckOut( uri, dir, new SvnCheckOutArgs() { Depth = SvnDepth.Empty } ); foreach( var folder in folders ) { client.Update( folder…
Wyck
  • 10,311
  • 6
  • 39
  • 60
1
vote
1 answer

Dealing with Subversion (TortoiseSVN), From Where to start?

I want to develop a website in (ASP+C#) which deals with version control. In that application my scenario is as follow: A user signing in to application and editing a post, the website may display to all users the previous and new version of the…
Khaksar Weqar
  • 425
  • 3
  • 13
1
vote
4 answers

How can i get access to the SVN pre-commit message using SharpSVN?

i see that all I can set to is %repos% and %txn% how can I use those to get to the commit message (in my case, so i can parse out the ticket number so i can see if it exists in the bug database before committing to it)
KevinDeus
  • 11,988
  • 20
  • 65
  • 97
1
vote
1 answer

How to commit files with active handles using SharpSvn?

My C# application uses SharpSVN to synchronize local (working copies) and remote (repositories) files. Since I want to synchronize these files while they are processes by other applications, it can be that modified files have active handles at…
mamuesstack
  • 1,111
  • 2
  • 16
  • 34
1
vote
1 answer

SharpSvn SvnClient.GetLog throws AccessViolationException

My application is crashing with the following unhandled exception: System.AccessViolationException was unhandled HResult=-2147467261 Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt. …
Tom Hunter
  • 5,714
  • 10
  • 51
  • 76
1
vote
1 answer

SVN - How do I intercept and alter or add files on pre-commit?

First of all I'm not sure this is even possible, however I need to know how it can be done and if not why not? I want to create a C# application that runs at the appropriate time during the commit process of a subversion repository (pre-commit I…
djdd87
  • 67,346
  • 27
  • 156
  • 195
1
vote
1 answer

How to wire up SharpSvn.SvnUpdateResult in powershell

Trying to automate my morning ritual of updating multiple subversion working copies by using a powershell script. The svn update is working fine, but it would nice to hook into the SvnUpdateResult to show changes or any conflicts. I've got as far as…
si618
  • 16,580
  • 12
  • 67
  • 84