6
6
b = Branch.open_containing(branch)[0]
9
b.repository.lock_read()
11
for revno, revision in iter_revisiondata(b):
12
new_descriptor = (revision.committer,
13
revision.properties.get('branch-nick'))
14
if descriptor is None:
15
descriptor = new_descriptor
18
if branch_change(descriptor, new_descriptor):
19
print_info(descriptor, start, revno - 1)
9
for revno, revision in iter_revisiondata(b):
10
new_descriptor = (revision.committer,
11
revision.properties.get('branch-nick'))
12
if descriptor is None:
21
13
descriptor = new_descriptor
22
print_info(descriptor, start, revno)
16
if branch_change(descriptor, new_descriptor):
17
print_info(descriptor, start, revno - 1)
19
descriptor = new_descriptor
20
print_info(descriptor, start, revno)
26
22
def branch_change(old_descriptor, new_descriptor):
27
23
if old_descriptor == new_descriptor: