[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: Madan U S <madan_at_collab.net>
Date: 2006-04-12 12:33:35 CEST

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().
]]]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Wed Apr 12 12:36:01 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.