Opened on 01/12/2015 at 06:36:39 PM

Closed on 01/13/2015 at 12:57:48 PM

#1778 closed change (fixed)

Generate proper build numbers when working with Git repositories

Reported by: trev Assignee: trev
Priority: P4 Milestone:
Module: Automation Keywords:
Cc: Blocked By:
Blocking: Platform: Unknown
Ready: yes Confidential: no
Tester: Verified working:
Review URL(s):



Currently, the way we generate build numbers is Mercurial-specific. When no Mercurial repository is present (e.g. for Git repositories) the build number will always be 0 and a misleading error message "abort: there is no Mercurial repository here (.hg not found)" will appear.

What to change

Recognize repository type and don't try running Mercurial commands on directories that aren't Mercurial repositories. Calculate a numerical build number for Git repositories as well.

Attachments (0)

Change History (2)

comment:1 Changed on 01/12/2015 at 06:44:24 PM by trev

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:2 Changed on 01/13/2015 at 12:57:48 PM by trev

  • Resolution set to fixed
  • Status changed from reviewing to closed

Add Comment

Modify Ticket

Change Properties
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from trev.
Note: See TracTickets for help on using tickets.