Opened 14 years ago

#19139 new enhancement

RFE: Do not display revision 0 in composite version

Reported by: raimue (Rainer Müller) Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts Future
Component: base Version: 1.8.0
Keywords: composite version output Cc:
Port:

Description

At many places port uses the composite version format to display version information. This consists of the version string as given in the Portfile and an additional underscore with the revision. As the default revision is 0, there is no need to display it.

So @1.2_0 would become @1.2 instead. This would increase the readability of port's output as most ports never increase the revision.

If specified in input as for port uninstall foo @1.2 it should be assumed to be revision 0 only if unambiguous.

Change History (0)

Note: See TracTickets for help on using tickets.