Changeset View
Changeset View
Standalone View
Standalone View
swh/loader/git/tests/test_from_disk.py
Show All 26 Lines | |||||
CONTENT1 = { | CONTENT1 = { | ||||
'33ab5639bfd8e7b95eb1d8d0b87781d4ffea4d5d', # README v1 | '33ab5639bfd8e7b95eb1d8d0b87781d4ffea4d5d', # README v1 | ||||
'349c4ff7d21f1ec0eda26f3d9284c293e3425417', # README v2 | '349c4ff7d21f1ec0eda26f3d9284c293e3425417', # README v2 | ||||
'799c11e348d39f1704022b8354502e2f81f3c037', # file1.txt | '799c11e348d39f1704022b8354502e2f81f3c037', # file1.txt | ||||
'4bdb40dfd6ec75cb730e678b5d7786e30170c5fb', # file2.txt | '4bdb40dfd6ec75cb730e678b5d7786e30170c5fb', # file2.txt | ||||
} | } | ||||
SNAPSHOT_ID = 'bdf3b06d6017e0d9ad6447a73da6ff1ae9efb8f0' | SNAPSHOT_ID = 'a23699280a82a043f8c0994cf1631b568f716f95' | ||||
SNAPSHOT1 = { | SNAPSHOT1 = { | ||||
'id': SNAPSHOT_ID, | 'id': SNAPSHOT_ID, | ||||
'branches': { | 'branches': { | ||||
'HEAD': { | 'HEAD': { | ||||
'target': '2f01f5ca7e391a2f08905990277faf81e709a649', | 'target': 'refs/heads/master', | ||||
'target_type': 'revision', | 'target_type': 'alias', | ||||
}, | }, | ||||
'refs/heads/master': { | 'refs/heads/master': { | ||||
'target': '2f01f5ca7e391a2f08905990277faf81e709a649', | 'target': '2f01f5ca7e391a2f08905990277faf81e709a649', | ||||
'target_type': 'revision', | 'target_type': 'revision', | ||||
}, | }, | ||||
'refs/heads/branch1': { | 'refs/heads/branch1': { | ||||
'target': 'b0a77609903f767a2fd3d769904ef9ef68468b87', | 'target': 'b0a77609903f767a2fd3d769904ef9ef68468b87', | ||||
'target_type': 'revision', | 'target_type': 'revision', | ||||
▲ Show 20 Lines • Show All 216 Lines • Show Last 20 Lines |