Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHGd4aad0dd69ed: cvsps: wrap bytes in bytestr before %r-ing it
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
| indygreg |
| hg-reviewers |
| Lint Skipped |
| Unit Tests Skipped |
| Path | Packages | |||
|---|---|---|---|---|
| M | hgext/convert/cvsps.py (2 lines) |
| Commit | Parents | Author | Summary | Date |
|---|---|---|---|---|
| Augie Fackler | Apr 27 2018, 1:28 AM |
| Status | Author | Revision | |
|---|---|---|---|
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 |
| m = m.group(1) | m = m.group(1) | ||||
| if m == 'HEAD': | if m == 'HEAD': | ||||
| m = None | m = None | ||||
| try: | try: | ||||
| candidate = changesets[branches[m]] | candidate = changesets[branches[m]] | ||||
| except KeyError: | except KeyError: | ||||
| ui.warn(_("warning: CVS commit message references " | ui.warn(_("warning: CVS commit message references " | ||||
| "non-existent branch %r:\n%s\n") | "non-existent branch %r:\n%s\n") | ||||
| % (m, c.comment)) | % (pycompat.bytestr(m), c.comment)) | ||||
| if m in branches and c.branch != m and not candidate.synthetic: | if m in branches and c.branch != m and not candidate.synthetic: | ||||
| c.parents.append(candidate) | c.parents.append(candidate) | ||||
| if mergeto: | if mergeto: | ||||
| m = mergeto.search(c.comment) | m = mergeto.search(c.comment) | ||||
| if m: | if m: | ||||
| if m.groups(): | if m.groups(): | ||||
| m = m.group(1) | m = m.group(1) | ||||