You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Leow, Fu" <fu...@etrade.com> on 2008/01/03 00:59:18 UTC

Merging change sets with missing files and directories


Re: Installing Subversion v1.4.6 on RHEL 3

Posted by Erik Huelsmann <eh...@gmail.com>.
On 1/3/08, Ashok Sharma <As...@mynrma.com.au> wrote:
> Hi all,
>
> I have downloaded the latest version of subversion software and compiled
> it as per instructions.
> I want to test the installation so I issue the following command: (make
> check) but it seems to hang on fs-test.
> Running all tests in compat-test...success
> Running all tests in config-test...success
> Running all tests in diff-diff3-test...success
> Running all tests in fs-test...
>
> Anyone have a similar issue?.

Do you run this on a server without mouse and keyboard? If so, is your
APR compiled with /dev/random or /dev/urandom as the source for random
numbers? If it's /dev/random, then the tests hang on a drained random
device, waiting for new entropy.

On headless servers, it's generally a good idea to add a source of
randomness from - for example - harddisk activity, or to compile APR
with /dev/urandom, which is a non-blocking source of random numbers
(but weaker). Subversion just needs randomness and doesn't depend on
the strong randomness provided by /dev/random.

bye,


Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: Merging change sets with missing files and directories

Posted by "Srilakshmanan, Lakshman" <la...@police.vic.gov.au>.
Hi Fu,

You would have to find the revision where "a" was added (ie r42) and the
revision where foo.txt was last modified (ie r73)
svn merge r42:73 should do the trick. All subdirectories added since r42
will be included.

Note : This will also merge any other files modified in that revision
range.

Thanks
Lakshman
-----Original Message-----
From: Leow, Fu [mailto:fu.leow@etrade.com] 
Sent: Thursday, 3 January 2008 11:59 AM
To: users@subversion.tigris.org
Subject: Merging change sets with missing files and directories

I'm trying to merge a change set that contains modifications to a file
but the file and the directories do not currently exist in the working
copy. For example, the change set has modifications to the file
"foo.txt" in the directory a/b/c/d/foo.txt. However, the file "foo.txt"
and the directories (a/b/c/d) do not exist on the working copy. The
merge won't work and it will return a "Skipped Missing File" message. 
What is a good way of handling this? 

Assuming that the directories were not added in the same change sets
then how can I handle a recursive add? (i.e. the "a" directory was added
in r42, "b" in r50, "c" in r60 etc)

One solution would be to find when each of the directory was added and
merge that revision, but I wondering if anyone has better ideas?

Thanks!

Fu Leow

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

================================================================================================
EMAIL DISCLAIMER

This email and any attachments are confidential. They may also be subject to copyright.

If you are not an intended recipient of this email please immediately contact us by replying
to this email and then delete this email. 

You must not read, use, copy, retain, forward or disclose this email or any attachment.

We do not accept any liability arising from or in connection with unauthorised use or disclosure 
of the information contained in this email or any attachment.

We make reasonable efforts to protect against computer viruses but we do not accept liability
for any liability, loss or damage caused by any computer virus contained in this email.
================================================================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Installing Subversion v1.4.6 on RHEL 3

Posted by Ashok Sharma <As...@mynrma.com.au>.
Hi all,

I have downloaded the latest version of subversion software and compiled
it as per instructions.
I want to test the installation so I issue the following command: (make
check) but it seems to hang on fs-test.
Running all tests in compat-test...success
Running all tests in config-test...success
Running all tests in diff-diff3-test...success
Running all tests in fs-test...

Anyone have a similar issue?.

Cheers
Ashok

The contents of this email and any attachments are strictly confidential and intended solely for the attention and use of the named addressee(s). If you have received this email in error, please notify the sender immediately. Please note that we do not accept responsibility for viruses and you should therefore scan any attachments.

NRMA Motoring & Services is separate and independent from NRMA Insurance.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org