Added some more helper functions for serialization of CVSRevision.
commit1795b2761a159f1ee2da26e8ba6e94dab302e3aa
authormhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Sun, 23 Apr 2006 20:23:22 +0000 (23 20:23 +0000)
committermhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Sun, 23 Apr 2006 20:23:22 +0000 (23 20:23 +0000)
tree6d67c5bf286917ad632e84d869a08dfcd67e5ace
parentaff0a8d10bf834ecb36f25edf14a436ab653bc53
Added some more helper functions for serialization of CVSRevision.

This commit also changes next_timestamp and prev_timestamp to
fixed-width hex representation, in agreement with design-notes.txt.

* cvs2svn (CVSRevision.__str__): Use local helper functions
  timestamp_to_string(), rev_to_string(), and list_to_string() to help
  with serialization.

  (parse_cvs_revision): Use local helper functions
  string_to_timestamp() and string_to_rev() to help with
  deserialization.

git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@1846 be7e6eca-30d4-0310-a8e5-ac0d63af7087
cvs2svn