Show More
@@ -810,8 +810,11 b' The extension makes sure that the filelo' | |||||
810 | blob, and the output shows that it isn't fetched. |
|
810 | blob, and the output shows that it isn't fetched. | |
811 |
|
811 | |||
812 | $ cat > $TESTTMP/lfsrename.py <<EOF |
|
812 | $ cat > $TESTTMP/lfsrename.py <<EOF | |
|
813 | > import sys | |||
|
814 | > | |||
813 | > from mercurial import ( |
|
815 | > from mercurial import ( | |
814 | > exthelper, |
|
816 | > exthelper, | |
|
817 | > pycompat, | |||
815 | > ) |
|
818 | > ) | |
816 | > |
|
819 | > | |
817 | > from hgext.lfs import ( |
|
820 | > from hgext.lfs import ( | |
@@ -829,7 +832,10 b" blob, and the output shows that it isn't" | |||||
829 | > rawtext = self._revlog.rawdata(node) |
|
832 | > rawtext = self._revlog.rawdata(node) | |
830 | > metadata = pointer.deserialize(rawtext) |
|
833 | > metadata = pointer.deserialize(rawtext) | |
831 | > print('lfs blob %s renamed %s -> %s' |
|
834 | > print('lfs blob %s renamed %s -> %s' | |
832 |
> % (metadata[b'oid'] |
|
835 | > % (pycompat.sysstr(metadata[b'oid']), | |
|
836 | > pycompat.sysstr(ret[0]), | |||
|
837 | > pycompat.fsdecode(self._revlog.filename))) | |||
|
838 | > sys.stdout.flush() | |||
833 |
|
|
839 | > return ret | |
834 | > EOF |
|
840 | > EOF | |
835 |
|
841 |
General Comments 0
You need to be logged in to leave comments.
Login now