equal
deleted
inserted
replaced
2081 on specifying file patterns. |
2081 on specifying file patterns. |
2082 |
2082 |
2083 Returns 0 if a match is found, 1 otherwise. |
2083 Returns 0 if a match is found, 1 otherwise. |
2084 |
2084 |
2085 """ |
2085 """ |
2086 ctx = scmutil.revsingle(repo, opts.get('rev'), None) |
2086 ctx = scmutil.revsingle(repo, opts.get(r'rev'), None) |
2087 |
2087 |
2088 end = '\n' |
2088 end = '\n' |
2089 if opts.get('print0'): |
2089 if opts.get('print0'): |
2090 end = '\0' |
2090 end = '\0' |
2091 fmt = '%s' + end |
2091 fmt = '%s' + end |