Commits

Anonymous committed 9117172

unittest for long tag name

  • Participants
  • Parent commits de76331

Comments (0)

Files changed (1)

File hgapi/testhgapi.py

         original_tip = self.repo['tip'].node
         self.repo.hg_tag('mytag', 'othertag')
         self.repo.hg_tag('mytag2', rev=1)
+        self.repo.hg_tag('long mytag3', rev=2)
         tags = self.repo.hg_tags()
         self.assertEqual(tags, {'mytag': original_tip,
             'othertag': original_tip,
             'mytag2': self.repo[1].node,
+            'long mytag3': self.repo[2].node,
             'tip': self.repo[-1].node})
 
     def test_220_LogWithBranch(self):