Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8864007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T16:07:49+00:00 2026-06-14T16:07:49+00:00

I am working on extracting svn repository using c# programming. I have added sharpsvn

  • 0

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 SvnClient();

SvnUriTarget target = new SvnUriTarget(@"http://svn.user.com/svn/websites/Branches/InternalServices");

SvnInfoEventArgs info;

client.GetInfo(target, out info);

//Specify the repository root as Uri
//Console.WriteLine("Repository version: {0}", info.Revision);
Console.WriteLine("Started checking out. Please wait few minutes");

client.CheckOut(target, localFolder);                   
//client.Update(localFolder);

I have checked out using ‘client.checkout’ method and i can update using ‘client.update’ method.

Let say i have folder ‘services’ in my machine. I am checking out files/folders initially using ‘client.checkout’ to this folder.

Next time when i run the program it should update automatically without checkout. How can i know if the service folder has already done a checkout once and now it should update?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T16:07:50+00:00Added an answer on June 14, 2026 at 4:07 pm

    You can determine whether a directory is a working copy like this:

    public static bool IsWorkingCopy(string path)
    {
        using (var client = GetSvnClient())
        {
            var uri = client.GetUriFromWorkingCopy(path);
            return uri != null;
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working on information extraction and was able to run standAloneAnnie.java http://gate.ac.uk/wiki/code-repository/src/sheffield/examples/StandAloneAnnie.java
So far here is the code I have (it is working and extracting text
I am working on a project that requires reading text files, extracting data from
I have a Winforms application which is working fine.. using a BackgroundWorkerThread to manage
I'm working with a C++ code base. Right now I'm using a C++ code
I have the following function that is extracting me distinct values based on the
I'm working on a project that involves extracting text scientific papers stored in PDF
for extracting special folder icons I'm using ExtractIconEx(Environment.SystemDirectory + \\shell32.dll,ncIconIndex, handlesIconLarge, handlesIconSmall, 1); Here
I'm working on an application that processes audio data. I'm using java (I've added
I have been working on crawling webpages and extracting the elements of the website.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.