equal
deleted
inserted
replaced
166 if wdirhex.startswith(id): |
166 if wdirhex.startswith(id): |
167 raise error.WdirUnsupported |
167 raise error.WdirUnsupported |
168 candidates = [ |
168 candidates = [ |
169 bin(x[0]) |
169 bin(x[0]) |
170 for x in self._db.execute( |
170 for x in self._db.execute( |
171 'SELECT node FROM changelog WHERE node LIKE ?', (id + b'%',) |
171 'SELECT node FROM changelog WHERE node LIKE ?', |
|
172 (pycompat.sysstr(id + b'%'),), |
172 ) |
173 ) |
173 ] |
174 ] |
174 if nullhex.startswith(id): |
175 if nullhex.startswith(id): |
175 candidates.append(nullid) |
176 candidates.append(nullid) |
176 if len(candidates) > 1: |
177 if len(candidates) > 1: |