version-info --python doesn't match version-info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Wishlist
|
Unassigned | ||
Bazaar Subversion Plugin |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
$ bzr version-info
revision-id: svn-v4:
date: 2010-04-12 18:54:13 +0000
svn-revno: 2178
svn-uuid: 4407c894-
build-date: 2010-04-25 22:47:54 +0100
revno: 1512
branch-nick: trunk
$ bzr version-info --python
#!/usr/bin/env python
"""This file is automatically generated by generate_
It uses the current working tree to determine the revision.
So don't edit it. :)
"""
version_info = {'branch_nick': u'trunk',
'build_date': '2010-04-25 22:48:02 +0100',
'clean': None,
'date': '2010-04-12 18:54:13 +0000',
'revision_id': 'svn-v4:
'revno': 1512}
revisions = {}
file_revisions = {}
if __name__ == '__main__':
print 'revision: %(revno)d' % version_info
print 'nick: %(branch_nick)s' % version_info
print 'revision id: %(revision_id)s' % version_info
Note that svn version-info tags are missing from the python formatter.
Related branches
- Vincent Ladeuil: Needs Fixing
-
Diff: 95 lines (+20/-38)1 file modifiedbzrlib/version_info_formats/format_python.py (+20/-38)
Changed in bzr: | |
assignee: | nobody → Dmitrijs Ledkovs (dmitrij.ledkov) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in bzr-svn: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in bzr: | |
importance: | Medium → Wishlist |
tags: | added: version-info |
tags: | added: check-for-breezy |
On Sun, 2010-04-25 at 21:57 +0000, Dmitrijs Ledkovs wrote: 4407c894- 4637-0410- b4f5-ada5f102ca d1:trunk: 2178 4637-0410- b4f5-ada5f102ca d1 version_ info 4407c894- 4637-0410- b4f5-ada5f102ca d1:trunk: 2178',
> Public bug reported:
>
> $ bzr version-info
> revision-id: svn-v4:
> date: 2010-04-12 18:54:13 +0000
> svn-revno: 2178
> svn-uuid: 4407c894-
> build-date: 2010-04-25 22:47:54 +0100
> revno: 1512
> branch-nick: trunk
> $ bzr version-info --python
> #!/usr/bin/env python
> """This file is automatically generated by generate_
> It uses the current working tree to determine the revision.
> So don't edit it. :)
> """
>
> version_info = {'branch_nick': u'trunk',
> 'build_date': '2010-04-25 22:48:02 +0100',
> 'clean': None,
> 'date': '2010-04-12 18:54:13 +0000',
> 'revision_id': 'svn-v4:
> 'revno': 1512}
>
> revisions = {}
>
> file_revisions = {}
>
>
> if __name__ == '__main__':
> print 'revision: %(revno)d' % version_info
> print 'nick: %(branch_nick)s' % version_info
> print 'revision id: %(revision_id)s' % version_info
>
>
> Note that svn version-info tags are missing from the python formatter.
That's true, but I don't see otherwise how the two don't match. Or do
you consider the latter the bug?
Cheers,
Jelmer