[Bug 6835] New: cp: use POSIX -R instead of -r

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Wed Jul 19 14:23:14 UTC 2023


https://bz.mercurial-scm.org/show_bug.cgi?id=6835

            Bug ID: 6835
           Summary: cp: use POSIX -R instead of -r
           Product: Mercurial
           Version: 6.5
          Hardware: All
                OS: NetBSD
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: tk at giga.or.at
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

NetBSD's copy supports the 'old' -r flag but doesn't like it:

This makes tests/test-bundle-phase-internal.t fail:

   $ cp -ar reference-repo strip-ancestor
+  cp: the -R and -r options may not be specified together.
+  [1]                        
   $ cd strip-ancestor                                                          
+  cd: can't cd to strip-ancestor          


Please use 'cp -aR' instead to follow POSIX. Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list