[Bug 6716] New: test-revlog: uses unsupported '--force-local' tar(1) option

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Mon Jun 13 10:44:22 UTC 2022


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

            Bug ID: 6716
           Summary: test-revlog: uses unsupported '--force-local' tar(1)
                    option
           Product: Mercurial
           Version: 6.1.3
          Hardware: All
                OS: NetBSD
            Status: UNCONFIRMED
          Severity: bug
          Priority: normal
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: tk at giga.or.at
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

tar on NetBSD does not support --force-local, leading to:

--- /scratch/devel/py-mercurial/work/mercurial-6.1.3/tests/test-revlog.t        
+++ /scratch/devel/py-mercurial/work/mercurial-6.1.3/tests/test-revlog.t.err    
@@ -74,10 +74,13 @@                                                             
 - remove some cache files                                                      

   $ tar --force-local -xf
"$TESTDIR"/bundles/test-revlog-diff-relative-to-nullrev.tar                     
+  tar: Option --force-local is not supported                                   
+  Usage:                                                       
+    List:    tar -tf <archive-filename>                                        
+    Extract: tar -xf <archive-filename>                        
+    Create:  tar -cf <archive-filename> [filenames...]                         
+    Help:    tar --help                                                        
+  [1]                                                                          
   $ cd nullrev-diff                                                            
+  cd: can't cd to nullrev-diff                                                 
   $ hg debugdeltachain a                                                       
-      rev  chain# chainlen     prev   delta       size    rawsize  chainsize  
  ratio   lindist extradist extraratio   readsize largestblk rddensity srchunks
-        0       1        2       -1      p1         15          3         15  
5.00000        15         0    0.00000         15         15   1.00000        1
-  $ hg cat --config rhg.cat=true -r 0 a                                        
-  hi                                                                           
-  $ cd ..                                                                      

ERROR: test-revlog.t output changed

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


More information about the Mercurial-devel mailing list