tests/test-lfs.t
changeset 35731 f58245b9e3ea
parent 35665 1ad1e59b405e
child 35769 f00edef84c3b
equal deleted inserted replaced
35730:05d415790761 35731:f58245b9e3ea
   863   $ hg --cwd convert_lfs debugdata a1 0
   863   $ hg --cwd convert_lfs debugdata a1 0
   864   version https://git-lfs.github.com/spec/v1
   864   version https://git-lfs.github.com/spec/v1
   865   oid sha256:5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024
   865   oid sha256:5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024
   866   size 29
   866   size 29
   867   x-is-binary 0
   867   x-is-binary 0
       
   868   $ hg --cwd convert_lfs log -r 0 -T "{lfs_files % '{lfsattrs % '{key}={value}\n'}'}"
       
   869   version=https://git-lfs.github.com/spec/v1
       
   870   oid=sha256:5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024
       
   871   size=29
       
   872   x-is-binary=0
       
   873   $ hg --cwd convert_lfs log -r 0 \
       
   874   >    -T '{lfs_files % "{get(lfsattrs, "oid")}\n"}{lfs_files % "{lfsattrs.oid}\n"}'
       
   875   sha256:5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024
       
   876   sha256:5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024
       
   877   $ hg --cwd convert_lfs log -r 0 -T '{lfs_files % "{lfsattrs}\n"}'
       
   878   version=https://git-lfs.github.com/spec/v1 oid=sha256:5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024 size=29 x-is-binary=0
   868   $ hg --cwd convert_lfs \
   879   $ hg --cwd convert_lfs \
   869   >     log -r 'all()' -T '{rev}: {lfs_files % "{file}: {oid}\n"}'
   880   >     log -r 'all()' -T '{rev}: {lfs_files % "{file}: {oid}\n"}'
   870   0: a1: 5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024
   881   0: a1: 5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024
   871   1: a2: 5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024
   882   1: a2: 5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024
   872   2: a2: 876dadc86a8542f9798048f2c47f51dbf8e4359aed883e8ec80c5db825f0d943
   883   2: a2: 876dadc86a8542f9798048f2c47f51dbf8e4359aed883e8ec80c5db825f0d943