Re: Exclude a directory from a copy.
From: Gavin Baumanis <gavinb_at_thespidernet.com>
Date: Fri, 24 Jun 2011 13:17:36 +1000
I am not sure if I am missing something or not...
I have created a test repo as a test bed for the reintegration step.
I then did a WC->WC copy;
Committed the change
deleted the unwanted directory
I then created a file in /branches/myNewBranch/fred.txt
I then tried to merge my changes back;
and I got the following result;
I tried with URL->URL copy - just to see if that made any difference - but it doesn't and upon reflection why would it?
(Though I do take onboard that using a URL->URL copy/delete does away with the physical copy/delete upon my WC - which is a big time saver - because the unwanted directory contains something like 50,000 tiny files - and that is a time consuming couple of operatiojns)
I also understand that unwanted is being deleted from trunk - because it is a difference between the branch and trunk at the time of the merge.
I can simply revert the delete before commit
and everything is as I would want it to be..
Initially I thought I would check if there was some "little gem" to be used that would do it without me having to the extra work of manually;
The URL->URL copy does away with the requirement of having to wait for the copy, then deletion of thousands of small files that make up the unwanted directory's contents. - so that's a great step forward in efficiency right there!
Finally, I am fine with having to do it, myself... I just thought I would see if there was a better way (internal to svn - all in one / special) first.
As always - a big thanks for the assistance....
On 23/06/2011, at 10:48 PM, Daniel Shahaf wrote:
> Konstantin Kolinko wrote on Thu, Jun 23, 2011 at 11:48:46 +0400:
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.