view hgext/__init__.py @ 28116:ba8257cb53e8

filectx: replace use of _filerev with _filenode _filerev depends on the filelog implementation using revlogs and linkrevs. Alternative implementations, like remotefilelog, do not have rev numbers, so this call fails. Replacing it with _filenode means it doesn't rely on rev numbers, and doesn't cost anything extra, since _filerev is using _filenode under the hood anyway.
author Durham Goode <durham@fb.com>
date Mon, 08 Feb 2016 14:17:11 -0800
parents 7d439981bec4
children 155e3308289c
line wrap: on
line source

# placeholder