equal
deleted
inserted
replaced
44 ' paths starting with /, ignoring %s\n') % line) |
44 ' paths starting with /, ignoring %s\n') % line) |
45 continue |
45 continue |
46 current.add(line) |
46 current.add(line) |
47 |
47 |
48 return includes, excludes, profiles |
48 return includes, excludes, profiles |
|
49 |
|
50 # Exists as separate function to facilitate monkeypatching. |
|
51 def readprofile(repo, profile, changeid): |
|
52 """Resolve the raw content of a sparse profile file.""" |
|
53 # TODO add some kind of cache here because this incurs a manifest |
|
54 # resolve and can be slow. |
|
55 return repo.filectx(profile, changeid=changeid).data() |