Opened 11 years ago

#372 new task

avoid calls SVNlog::exist(name)

Reported by: Peter Johansson Owned by: Jari Häkkinen
Priority: minor Milestone: svndigest 0.x+
Component: core Version: trunk
Keywords: Cc:

Description

In a couple of cases there are calls to

SVNlog::exist(name);

followed by a call to

SVNlog::latest_commit(name);

This should be changed to a more STL-like design, in which we introduce a SVNlog::const_iterator that can should be returned from SVNlog::latest_commit. Or we should likely use std::find_if(first, last, pred) with reverse iterators.

Change History (0)

Note: See TracTickets for help on using tickets.