Show More
@@ -370,7 +370,7 def lfsfiles(repo, ctx, **args): | |||||
370 |
|
370 | |||
371 | makemap = lambda v: { |
|
371 | makemap = lambda v: { | |
372 | 'file': v, |
|
372 | 'file': v, | |
373 | 'oid': pointers[v].oid(), |
|
373 | 'lfsoid': pointers[v].oid(), | |
374 | 'lfspointer': templatekw.hybriddict(pointer(v)), |
|
374 | 'lfspointer': templatekw.hybriddict(pointer(v)), | |
375 | } |
|
375 | } | |
376 |
|
376 |
@@ -877,7 +877,7 there's no 'lfs' destination repo requir | |||||
877 | $ hg --cwd convert_lfs log -r 0 -T '{lfs_files % "{lfspointer}\n"}' |
|
877 | $ hg --cwd convert_lfs log -r 0 -T '{lfs_files % "{lfspointer}\n"}' | |
878 | version=https://git-lfs.github.com/spec/v1 oid=sha256:5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024 size=29 x-is-binary=0 |
|
878 | version=https://git-lfs.github.com/spec/v1 oid=sha256:5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024 size=29 x-is-binary=0 | |
879 | $ hg --cwd convert_lfs \ |
|
879 | $ hg --cwd convert_lfs \ | |
880 | > log -r 'all()' -T '{rev}: {lfs_files % "{file}: {oid}\n"}' |
|
880 | > log -r 'all()' -T '{rev}: {lfs_files % "{file}: {lfsoid}\n"}' | |
881 | 0: a1: 5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024 |
|
881 | 0: a1: 5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024 | |
882 | 1: a2: 5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024 |
|
882 | 1: a2: 5bb8341bee63b3649f222b2215bde37322bea075a30575aa685d8f8d21c77024 | |
883 | 2: a2: 876dadc86a8542f9798048f2c47f51dbf8e4359aed883e8ec80c5db825f0d943 |
|
883 | 2: a2: 876dadc86a8542f9798048f2c47f51dbf8e4359aed883e8ec80c5db825f0d943 | |
@@ -987,7 +987,7 The LFS policy takes effect as the .hglf | |||||
987 | $ echo '012345678901234567890' > nolfs.exclude |
|
987 | $ echo '012345678901234567890' > nolfs.exclude | |
988 | $ echo '01234567890123456' > lfs.catchall |
|
988 | $ echo '01234567890123456' > lfs.catchall | |
989 | $ hg ci -Aqm 'added .hglfs' |
|
989 | $ hg ci -Aqm 'added .hglfs' | |
990 | $ hg log -r . -T '{rev}: {lfs_files % "{file}: {oid}\n"}\n' |
|
990 | $ hg log -r . -T '{rev}: {lfs_files % "{file}: {lfsoid}\n"}\n' | |
991 | 2: lfs.catchall: d4ec46c2869ba22eceb42a729377432052d9dd75d82fc40390ebaadecee87ee9 |
|
991 | 2: lfs.catchall: d4ec46c2869ba22eceb42a729377432052d9dd75d82fc40390ebaadecee87ee9 | |
992 | lfs.test: 5489e6ced8c36a7b267292bde9fd5242a5f80a7482e8f23fa0477393dfaa4d6c |
|
992 | lfs.test: 5489e6ced8c36a7b267292bde9fd5242a5f80a7482e8f23fa0477393dfaa4d6c | |
993 |
|
993 | |||
@@ -997,7 +997,7 The existing .hglfs file is used even wh | |||||
997 | $ echo '012345678901234567890a' > nolfs.exclude |
|
997 | $ echo '012345678901234567890a' > nolfs.exclude | |
998 | $ echo '01234567890123456a' > lfs.catchall |
|
998 | $ echo '01234567890123456a' > lfs.catchall | |
999 | $ hg ci -qm 'unmodified .hglfs' |
|
999 | $ hg ci -qm 'unmodified .hglfs' | |
1000 | $ hg log -r . -T '{rev}: {lfs_files % "{file}: {oid}\n"}\n' |
|
1000 | $ hg log -r . -T '{rev}: {lfs_files % "{file}: {lfsoid}\n"}\n' | |
1001 | 3: lfs.catchall: 31f43b9c62b540126b0ad5884dc013d21a61c9329b77de1fceeae2fc58511573 |
|
1001 | 3: lfs.catchall: 31f43b9c62b540126b0ad5884dc013d21a61c9329b77de1fceeae2fc58511573 | |
1002 | lfs.test: 8acd23467967bc7b8cc5a280056589b0ba0b17ff21dbd88a7b6474d6290378a6 |
|
1002 | lfs.test: 8acd23467967bc7b8cc5a280056589b0ba0b17ff21dbd88a7b6474d6290378a6 | |
1003 |
|
1003 | |||
@@ -1008,7 +1008,7 Excluding the .hglfs file from the commi | |||||
1008 | $ echo '012345678901234567890abc' > nolfs.exclude |
|
1008 | $ echo '012345678901234567890abc' > nolfs.exclude | |
1009 | $ echo '01234567890123456abc' > lfs.catchall |
|
1009 | $ echo '01234567890123456abc' > lfs.catchall | |
1010 | $ hg ci -qm 'file test' -X .hglfs |
|
1010 | $ hg ci -qm 'file test' -X .hglfs | |
1011 | $ hg log -r . -T '{rev}: {lfs_files % "{file}: {oid}\n"}\n' |
|
1011 | $ hg log -r . -T '{rev}: {lfs_files % "{file}: {lfsoid}\n"}\n' | |
1012 | 4: lfs.catchall: 6747cfb1b83965b4a884e7a6061813ae31e4122028bc6a88d2ac5e5f9e05c5af |
|
1012 | 4: lfs.catchall: 6747cfb1b83965b4a884e7a6061813ae31e4122028bc6a88d2ac5e5f9e05c5af | |
1013 | lfs.test: 3f40b70c2294e91e0fa789ebcf73c5a1d1c7aef270f83e477e40cb0513237e8c |
|
1013 | lfs.test: 3f40b70c2294e91e0fa789ebcf73c5a1d1c7aef270f83e477e40cb0513237e8c | |
1014 |
|
1014 | |||
@@ -1018,7 +1018,7 The policy change takes effect when the | |||||
1018 | $ echo '012345678901234567890abcdef' > nolfs.exclude |
|
1018 | $ echo '012345678901234567890abcdef' > nolfs.exclude | |
1019 | $ echo '01234567890123456abcdef' > lfs.catchall |
|
1019 | $ echo '01234567890123456abcdef' > lfs.catchall | |
1020 | $ hg ci -qm 'file test' |
|
1020 | $ hg ci -qm 'file test' | |
1021 | $ hg log -r . -T '{rev}: {lfs_files % "{file}: {oid}\n"}\n' |
|
1021 | $ hg log -r . -T '{rev}: {lfs_files % "{file}: {lfsoid}\n"}\n' | |
1022 | 5: |
|
1022 | 5: | |
1023 |
|
1023 | |||
1024 | $ cd .. |
|
1024 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now