-2

I am using cruise control .net for fetching code from SVN for an application. I want to fetch it on the basis of change sets ,

below is the scenario for what i need.

If one team is working on build 1 and second team is working on build 2 and they are committing their code on SVN regularly. Now i want to fetch code only of build 1, not of build 2. How can i get it using cruise controls .net?

JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
D P
  • 17
  • 5
  • 1
    Heya, welcome to SO! It helps if you're more specific, and tell us what you've tried and considered so far, and where you got stuck. Show us some code / config, etc. – Jeroen Sep 15 '12 at 15:10
  • are you talking about two different branches? – Neil N Sep 15 '12 at 15:28
  • here is the code of my ccnet.config...where i am entering revision number D:\nant-0.92-bin\nant-0.92\bin\nant.exe D:\NANT_SCRIPTS\build.xml 120 -D:Rev=$[Revision] and below is the code of fetching code from nant on basis of revision number – D P Sep 17 '12 at 06:34

1 Answers1

1

I'm not sure that CC.net can do it, but you can achieve it with NAnt manually using Subversion command line

Dima
  • 6,721
  • 4
  • 24
  • 43
  • Hi..Dima...how can we achieve using nant? I am also using nant. – D P Sep 16 '12 at 17:03
  • You can take a look on Subversion command line (http://www.tigris.org/nonav/scdocs/ddUsingSVN_command-line.html.en) and use it via NAnt's task (http://nant.sourceforge.net/release/0.91/help/tasks/exec.html). Or maybe it will be easier for you to use separate repos for each build. – Dima Sep 16 '12 at 19:17
  • Hi..here is the code of my ccnet.config...where i am entering revision number D:\nant-0.92-bin\nant-0.92\bin\nant.exe D:\NANT_SCRIPTS\build.xml 120 -D:Rev=$[Revision] and below is the code of fetching code from nant on basis of revision number – D P Sep 17 '12 at 06:39
  • can you please tell me about Changesets and revision in SVN? Because i want to get the code on the basis of changesets.Read my question one more time. – D P Sep 17 '12 at 10:29
  • Dima..can you please look on to http://stackoverflow.com/questions/12513169/how-to-get-partial-update-from-subversion – D P Sep 21 '12 at 06:40