Merge lp://staging/~cjwatson/bzr-builder/fix-comment-skipping into lp://staging/~james-w/bzr-builder/trunk-old

Proposed by Colin Watson
Status: Merged
Merged at revision: not available
Proposed branch: lp://staging/~cjwatson/bzr-builder/fix-comment-skipping
Merge into: lp://staging/~james-w/bzr-builder/trunk-old
Diff against target: None lines
To merge this branch: bzr merge lp://staging/~cjwatson/bzr-builder/fix-comment-skipping
Reviewer Review Type Date Requested Status
James Westby Approve
Review via email: mp+9770@code.staging.launchpad.net
To post a comment you must log in.
Revision history for this message
James Westby (james-w) wrote :

Merged with a testcase.

Thanks,

James

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'recipe.py'
2--- recipe.py 2009-05-07 20:28:17 +0000
3+++ recipe.py 2009-08-06 15:50:09 +0000
4@@ -769,5 +769,5 @@
5 if self.peek_char() != "#":
6 return None
7 comment = self.current_line[self.index:]
8- self.new_line()
9+ self.index += len(comment)
10 return comment

Subscribers

People subscribed via source and target branches