Bug 1282453 - publican add_revision fails to increment revision number
Summary: publican add_revision fails to increment revision number
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Ruediger Landmann
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-16 13:16 UTC by Laura Novich
Modified: 2017-01-09 11:47 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-09 11:47:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Novich 2015-11-16 13:16:10 UTC
Description of problem:
I manually updated a revision in the revision history and saved the file. 
Then I ran the "publican add_revision" command to a new member 
the member was added, but the revision history number was the same as the number for the revision I added manually.
Oddly enough Publican did not fail to brew with two entries with the same revision number.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
I expect publican build and brew to fail when there are 2 entries with the same revision number
Also I expect publican_add_revision to increment the revision numbers.

Additional info:

Comment 2 Jeff Fearn 🐞 2017-01-09 11:47:08 UTC
Works for me, would need the broken files to test.


Note You need to log in before you can comment on or make changes to this bug.