equal
deleted
inserted
replaced
271 entry[1].append( |
271 entry[1].append( |
272 ( |
272 ( |
273 b'', |
273 b'', |
274 b'shallow', |
274 b'shallow', |
275 None, |
275 None, |
276 _(b"create a shallow clone which uses remote file " b"history"), |
276 _(b"create a shallow clone which uses remote file history"), |
277 ) |
277 ) |
278 ) |
278 ) |
279 |
279 |
280 extensions.wrapcommand( |
280 extensions.wrapcommand( |
281 commands.table, b'debugindex', debugcommands.debugindex |
281 commands.table, b'debugindex', debugcommands.debugindex |
794 |
794 |
795 pctx = repo[b'.'] |
795 pctx = repo[b'.'] |
796 for filename in match.files(): |
796 for filename in match.files(): |
797 if filename not in pctx: |
797 if filename not in pctx: |
798 raise error.Abort( |
798 raise error.Abort( |
799 _(b'cannot follow file not in parent ' b'revision: "%s"') |
799 _(b'cannot follow file not in parent revision: "%s"') % filename |
800 % filename |
|
801 ) |
800 ) |
802 fctx = pctx[filename] |
801 fctx = pctx[filename] |
803 |
802 |
804 linkrev = fctx.linkrev() |
803 linkrev = fctx.linkrev() |
805 if linkrev >= minrev and linkrev <= maxrev: |
804 if linkrev >= minrev and linkrev <= maxrev: |