lib/pvn/diff/log_path.rb
# the "path" parameter is the displayed name; "logpath" is the LogPath.
# These are in the process of being refactored.
the "path" parameter is the displayed name; "logpath" is the LogPath.
These are in the process of being refactored.
the " path " parameter is the displayed name ; " logpath " is the LogPath . These are in the process of being refactored .
def diff_revision_to_revision revision, whitespace
      svnpath = url + name
      elmt = PVN::IO::Element.new :svn => svnpath
      displaypath = get_display_path
      rev_change = changes.detect do |chg| 
        revarg = SVNx::Revision::Argument.create chg.revision
        revarg > revision.from
      end
      action = rev_change.action
      case
      when action.added?
        show_as_added elmt, displaypath, revision, whitespace
      when action.deleted?
        show_as_deleted elmt, displaypath, revision, whitespace
      when action.modified?
        show_as_modified elmt, displaypath, changes, revision, whitespace
      end
    end
def diff_revision_to_revision revision , whitespace svnpath = url + name elmt = PVN :: IO :: Element . new :svn => svnpath displaypath = get_display_path rev_change = changes . detect do | chg | revarg = SVNx :: Revision :: Argument . create chg . revision revarg > revision . from end action = rev_change . action case when action . added? show_as_added elmt , displaypath , revision , whitespace when action . deleted? show_as_deleted elmt , displaypath , revision , whitespace when action . modified? show_as_modified elmt , displaypath , changes , revision , whitespace end end
the "path" parameter is the displayed name; "logpath" is the LogPath.
the " path " parameter is the displayed name ; " logpath " is the LogPath .
# all the paths will be the same, so any can be selected (actually, a # logpath should have multiple changes) # we ignore unversioned logpaths # I'm sure there is a bunch of permutations here, so this is probably # overly simplistic.
revision
<not_specific>
whitespace
<not_specific>