components/mercurial/patches/tailtest.patch
changeset 3596 042f4e7a6dbe
equal deleted inserted replaced
3595:3fab3649e6cd 3596:042f4e7a6dbe
       
     1 This patch is a workaround for a "tail" that should, but doesn't, act like
       
     2 GNU tail, in that it only reads from one file, even if multiple files are
       
     3 given on the commandline:
       
     4 
       
     5     15273738 tail should behave like head (multiple files)
       
     6 
       
     7 Since we should fix Solaris tail, this patch is highly Solaris-specific,
       
     8 and should not be passed upstream.
       
     9 
       
    10 --- mercurial-3.2.3/tests/test-convert-hg-sink.t	Thu Dec 18 12:59:22 2014
       
    11 +++ mercurial-3.2.3/tests/test-convert-hg-sink.t	Fri Dec 19 13:03:05 2014
       
    12 @@ -427,7 +427,7 @@
       
    13    $ echo b > b/f
       
    14    $ hg -R b ci -mb
       
    15  
       
    16 -  $ tail */.hg/shamap
       
    17 +  $ gtail */.hg/shamap
       
    18    ==> 0/.hg/shamap <==
       
    19    86f3f774ffb682bffb5dc3c1d3b3da637cb9a0d6 8a028c7c77f6c7bd6d63bc3f02ca9f779eabf16a
       
    20    dd9f218eb91fb857f2a62fe023e1d64a4e7812fe 8a028c7c77f6c7bd6d63bc3f02ca9f779eabf16a