[PATCH 1 of 2] tests: use cp -R instead of cp -r

Danek Duvall danek.duvall at oracle.com
Wed Nov 30 12:51:11 EST 2016


Jun Wu wrote:

> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1480526736 0
> #      Wed Nov 30 17:25:36 2016 +0000
> # Node ID a4f46a03e5f8e33f32c36326c6b14b84d9cb03b4
> # Parent  9e29d4e4e08b5996adda49cdd0b497d89e2b16ee
> # Available At https://bitbucket.org/quark-zju/hg-draft
> #              hg pull https://bitbucket.org/quark-zju/hg-draft -r a4f46a03e5f8
> tests: use cp -R instead of cp -r
> 
> This makes OS X happy for some tests after 0d87b1caed92. The default
> behavior of -R (-P, not follow symlinks) is what we want.

Where is that documented?  The GNU cp manpage considers -r and -R to be the
same, and the Solaris manpage says that -R is the same as -r, except pipes
are replicated instead of read from.

Danek


More information about the Mercurial-devel mailing list