[PATCH][SVNMERGE] Make get_default_head() more generic(get_heads()).

Madan U S madan at collab.net
Wed Apr 12 03:33:35 PDT 2006


This is a preparatory step for 'svnmerge log'.


[[[
Make the get_default_head() function more generic.

* contrib/client-side/svnmerge.py
  (get_default_head): Removed.
  (get_heads): New function similar to get_default_head(), but can return
  all the available head values. Also takes an extra parameter
  `get_only_default'. If `get_only_default' is True, expect only one
  head (error out if not), and return it. If `get_only_default' is
  False, return all the available heads as a list.
  (main): Modify call of get_default_head() to get_heads().
]]]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/svnmerge/attachments/20060412/62d1d55e/attachment.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: smdiff.txt
Url: /pipermail/svnmerge/attachments/20060412/62d1d55e/attachment.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: smlog.txt
Url: /pipermail/svnmerge/attachments/20060412/62d1d55e/attachment-0001.txt 


More information about the Svnmerge mailing list