473,387 Members | 1,440 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Doing a SVN-Update on a certain directory using C#?

Hi all,

I'm new to sub-version and still learning the process. We've a
scenario in our office where we do a Svn-Update on a certain folder to
fetch the latest code and then we deploy that directory (after
verifying the version number in one of the files in that directory).
Now I just want to automate this process i.e. to write a program that
would let me do a SVN-Update on a directory , fetch the directory for
me and then I will manually deploy it(or would later automate that
too).
So as I'm new to Sub-Version, please let me know how can I
automagically do a SVN-Update by using any library?
I mean can I programmatically do a SVN-Update on a folder using C#? If
so, how? Please enlighten me.

Please let me know, thanks in advance.

Thanks,
Rolf
Feb 21 '08 #1
1 3734
Have a look at CruiseControl.net. It's a Continuous Integration Server
that I have had good luck with. It makes it possible to auto-magically
build on regular intervals based on commits. My configuration builds
within 10 minutes of check-in and deploys to a Q/A server. It also
emails build results.

http://confluence.public.thoughtwork...iseControl.NET

We use SVN as well, so I can help with the configuration file.

Oltmans wrote:
Hi all,

I'm new to sub-version and still learning the process. We've a
scenario in our office where we do a Svn-Update on a certain folder to
fetch the latest code and then we deploy that directory (after
verifying the version number in one of the files in that directory).
Now I just want to automate this process i.e. to write a program that
would let me do a SVN-Update on a directory , fetch the directory for
me and then I will manually deploy it(or would later automate that
too).
So as I'm new to Sub-Version, please let me know how can I
automagically do a SVN-Update by using any library?
I mean can I programmatically do a SVN-Update on a folder using C#? If
so, how? Please enlighten me.

Please let me know, thanks in advance.

Thanks,
Rolf
Feb 22 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: bruce | last post by:
hi... in trying to get viewcvs up/running, i tried to do the following: # python Python 2.3.3 (#1, May 7 2004, 10:31:40) on linux2 Type "help", "copyright", "credits" or "license" for more...
4
by: R. Rajesh Jeba Anbiah | last post by:
I'm searching for a pure svn client in PHP, but didn't find one yet. Also, I see many Wiki system designs are somewhat flawed as they didn't use incremental diff. Is there anyone who is aware of...
0
by: Fuzzyman | last post by:
Hello All, I've added (optional) unicode support for ConfigObj. This is now available from SVN. You can specify an encoding to decode the config file on reading. This maps to an encoding...
1
by: yinglcs | last post by:
Hi, i have a simple test which tries to load 'svn' moddule. # python -c "from svn import client" Traceback (most recent call last): File "<string>", line 1, in ? ImportError: No module named...
2
by: Rob Cowie | last post by:
Hi all, I currently use easy_install to install packages from a custom, locally hosted package_index. The index consists of a single html doc with a list of package names and urls. All works...
3
by: gregpinero | last post by:
Going to this URL: http://svn.python.org/view/ It gives me an error: Unable to connect Firefox can't establish a connection to the server at svn.python.org. And using SVN as so: $ svn...
0
by: Tomas | last post by:
Dear group. I have some big problems getting python to work with svn. Python SVN and SWIG is compiled from source. I have been testing Python 2.5.1 and 2.4.4 together with SWIG 1.3.25 and 1.3.33...
3
by: sniipe | last post by:
Hi, I am looking fo svn library(module) which is used in the svn- mailer(http://opensource.perlig.de/svnmailer/) project. Does anybody know where can I find it(download url)? This is information...
3
by: Mike B | last post by:
I'm trying to get Subversion 'hook scripts' working on an Ubuntu box and the following fails. from svn import fs, repos, core, delta As far as I can tell there are two Python Subversion...
7
by: rajevar | last post by:
well this is kind of strange. i have few scripts that run on a daily basis and it works good on one host . im my development env its failing on importError : no module svn I login as the user...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.