Show More
@@ -125,16 +125,18 b' class filectx(object):' | |||||
125 | self._repo = repo |
|
125 | self._repo = repo | |
126 | self._path = path |
|
126 | self._path = path | |
127 |
|
127 | |||
128 |
assert changeid is not None |
|
128 | assert (changeid is not None | |
|
129 | or fileid is not None | |||
|
130 | or changectx is not None) | |||
129 |
|
131 | |||
130 | if filelog: |
|
132 | if filelog: | |
131 | self._filelog = filelog |
|
133 | self._filelog = filelog | |
132 | if changectx: |
|
|||
133 | self._changectx = changectx |
|
|||
134 | self._changeid = changectx.node() |
|
|||
135 |
|
134 | |||
136 | if fileid is None: |
|
135 | if fileid is None: | |
137 |
|
|
136 | if changectx is None: | |
|
137 | self._changeid = changeid | |||
|
138 | else: | |||
|
139 | self._changectx = changectx | |||
138 | else: |
|
140 | else: | |
139 | self._fileid = fileid |
|
141 | self._fileid = fileid | |
140 |
|
142 |
General Comments 0
You need to be logged in to leave comments.
Login now