You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Dharmendra Pratap <dh...@safaltek.in> on 2012/09/21 09:53:30 UTC

Need Help in fetching code from SVN

 

 

Hi ,

 

Hope all well with you..

 

I have a question regarding fetching code from SVN. It will be greatly
appreciated if you can please look on this

And provide me some suggestion for getting this task done.

Here is my question :

I have following scenario for my application on repository hosting

 

revision 4 (1 changed file that were changed in revision 3)

revision 3 (1 changed file)

revision 2 (1 file added)

 

I want to get a working copy that includes all changes from revision 2 to
Head but does NOT include

the changes for revisions 3.

How can i do this?

 

 

Regards,

Dharmendra Pratap

 


RE: Need Help in fetching code from SVN

Posted by Dharmendra Pratap <dh...@safaltek.in>.

Hi  Stefan,

Thanks for your reply.
I tried with merge but not getting the required output, I am getting file
conflict in it.
Here is the code of configuration of nant file. Can you please look over
this ?

<exec program="C:\Program Files\CollabNet\Subversion Client\svn.exe"
commandline="checkout https://test.repositoryhosting.com/svn/1_test@${Rev}
D:\MyTest --username test --password 123"/> <exec program="C:\Program
Files\CollabNet\Subversion Client\svn.exe" commandline="merge -c  -6
https://test.repositoryhosting.com/svn/1_test  D:\MyTest  --username test
--password 123"  /> <exec program="C:\Program Files\CollabNet\Subversion
Client\svn.exe" commandline="merge -c  -5
https://test.repositoryhosting.com/svn/1_test  D:\MyTest  --username test
--password 123"  /> <exec program="D:\NANT_SCRIPTS\Delete Publish.bat"
commandline="${Rev}" /> <exec
program="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe"
commandline="-nologo -v / -p D:\ MyTest -u D:\PublishOutput_${Rev}" />



Regards,
Dharmendra


-----Original Message-----
From: Stefan Sperling [mailto:stsp@elego.de] 
Sent: Friday, September 21, 2012 1:46 PM
To: Dharmendra Pratap
Cc: users@subversion.apache.org
Subject: Re: Need Help in fetching code from SVN

On Fri, Sep 21, 2012 at 01:23:30PM +0530, Dharmendra Pratap wrote:
> I want to get a working copy that includes all changes from revision 2 
> to Head but does NOT include
> 
> the changes for revisions 3.
> 
> How can i do this?

See here:
http://svnbook.red-bean.com/nightly/en/svn.branchmerge.basicmerging.html#svn
.branchmerge.basicmerging.undo


Re: Need Help in fetching code from SVN

Posted by Stefan Sperling <st...@elego.de>.
On Fri, Sep 21, 2012 at 01:23:30PM +0530, Dharmendra Pratap wrote:
> I want to get a working copy that includes all changes from revision 2 to
> Head but does NOT include
> 
> the changes for revisions 3.
> 
> How can i do this?

See here: http://svnbook.red-bean.com/nightly/en/svn.branchmerge.basicmerging.html#svn.branchmerge.basicmerging.undo