equal
deleted
inserted
replaced
1031 filelog = repo.file(file_) |
1031 filelog = repo.file(file_) |
1032 if not len(filelog): |
1032 if not len(filelog): |
1033 if node is None: |
1033 if node is None: |
1034 # A zero count may be a directory or deleted file, so |
1034 # A zero count may be a directory or deleted file, so |
1035 # try to find matching entries on the slow path. |
1035 # try to find matching entries on the slow path. |
|
1036 if follow: |
|
1037 raise util.Abort(_('cannot follow nonexistent file: "%s"') % file_) |
1036 slowpath = True |
1038 slowpath = True |
1037 break |
1039 break |
1038 else: |
1040 else: |
1039 ui.warn(_('%s:%s copy source revision cannot be found!\n') |
1041 ui.warn(_('%s:%s copy source revision cannot be found!\n') |
1040 % (file_, short(node))) |
1042 % (file_, short(node))) |