tests/test-lfs-test-server.t
changeset 35437 f98fac24b757
parent 35289 8e72f9152c4d
child 35477 02f54a1ec9eb
equal deleted inserted replaced
35436:86b8cc1f244e 35437:f98fac24b757
    41   $ hg init ../repo2
    41   $ hg init ../repo2
    42   $ hg push ../repo2 -v
    42   $ hg push ../repo2 -v
    43   pushing to ../repo2
    43   pushing to ../repo2
    44   searching for changes
    44   searching for changes
    45   lfs: uploading 31cf46fbc4ecd458a0943c5b4881f1f5a6dd36c53d6167d5b69ac45149b38e5b (12 bytes)
    45   lfs: uploading 31cf46fbc4ecd458a0943c5b4881f1f5a6dd36c53d6167d5b69ac45149b38e5b (12 bytes)
       
    46   lfs: processed: 31cf46fbc4ecd458a0943c5b4881f1f5a6dd36c53d6167d5b69ac45149b38e5b
    46   1 changesets found
    47   1 changesets found
    47   uncompressed size of bundle content:
    48   uncompressed size of bundle content:
    48        * (changelog) (glob)
    49        * (changelog) (glob)
    49        * (manifests) (glob)
    50        * (manifests) (glob)
    50        *  a (glob)
    51        *  a (glob)
    58   $ cd ../repo2
    59   $ cd ../repo2
    59   $ hg update tip -v
    60   $ hg update tip -v
    60   resolving manifests
    61   resolving manifests
    61   getting a
    62   getting a
    62   lfs: downloading 31cf46fbc4ecd458a0943c5b4881f1f5a6dd36c53d6167d5b69ac45149b38e5b (12 bytes)
    63   lfs: downloading 31cf46fbc4ecd458a0943c5b4881f1f5a6dd36c53d6167d5b69ac45149b38e5b (12 bytes)
       
    64   lfs: processed: 31cf46fbc4ecd458a0943c5b4881f1f5a6dd36c53d6167d5b69ac45149b38e5b
    63   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
    65   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
    64 
    66 
    65 When the server has some blobs already
    67 When the server has some blobs already
    66 
    68 
    67   $ hg mv a b
    69   $ hg mv a b
    71   $ hg push ../repo1 -v | grep -v '^  '
    73   $ hg push ../repo1 -v | grep -v '^  '
    72   pushing to ../repo1
    74   pushing to ../repo1
    73   searching for changes
    75   searching for changes
    74   lfs: need to transfer 2 objects (39 bytes)
    76   lfs: need to transfer 2 objects (39 bytes)
    75   lfs: uploading 37a65ab78d5ecda767e8622c248b5dbff1e68b1678ab0e730d5eb8601ec8ad19 (20 bytes)
    77   lfs: uploading 37a65ab78d5ecda767e8622c248b5dbff1e68b1678ab0e730d5eb8601ec8ad19 (20 bytes)
       
    78   lfs: processed: 37a65ab78d5ecda767e8622c248b5dbff1e68b1678ab0e730d5eb8601ec8ad19
    76   lfs: uploading d11e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998 (19 bytes)
    79   lfs: uploading d11e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998 (19 bytes)
       
    80   lfs: processed: d11e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998
    77   1 changesets found
    81   1 changesets found
    78   uncompressed size of bundle content:
    82   uncompressed size of bundle content:
    79   adding changesets
    83   adding changesets
    80   adding manifests
    84   adding manifests
    81   adding file changes
    85   adding file changes
    86   $ hg --repo ../repo1 update tip -v
    90   $ hg --repo ../repo1 update tip -v
    87   resolving manifests
    91   resolving manifests
    88   getting b
    92   getting b
    89   getting c
    93   getting c
    90   lfs: downloading d11e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998 (19 bytes)
    94   lfs: downloading d11e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998 (19 bytes)
       
    95   lfs: processed: d11e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998
    91   getting d
    96   getting d
    92   lfs: downloading 37a65ab78d5ecda767e8622c248b5dbff1e68b1678ab0e730d5eb8601ec8ad19 (20 bytes)
    97   lfs: downloading 37a65ab78d5ecda767e8622c248b5dbff1e68b1678ab0e730d5eb8601ec8ad19 (20 bytes)
       
    98   lfs: processed: 37a65ab78d5ecda767e8622c248b5dbff1e68b1678ab0e730d5eb8601ec8ad19
    93   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
    99   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
    94 
   100 
    95 Check error message when the remote missed a blob:
   101 Check error message when the remote missed a blob:
    96 
   102 
    97   $ echo FFFFF > b
   103   $ echo FFFFF > b