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

correct API to get current textual WC modifications, for parsing postprocessing

From: Jens Frederich <jfrederich_at_gmail.com>
Date: Mon, 30 Sep 2019 22:20:15 +0200

I try to get all line changes in the current changeset. Not sure what the
right API is. I have created a delta tree with the following to see if it
is a file and textual modifications. How do I get the content?

  SVN_ERR(svn_fs_revision_root(&base_root, fs, base_rev, pool));
  SVN_ERR(svn_repos_node_editor(&editor, &edit_baton, repos, base_root,
root, pool, edit_pool)));
  SVN_ERR(svn_repos_replay2(root, "", SVN_INVALID_REVNUM, TRUE, editor,
edit_baton, NULL, NULL, edit_pool));
  *tree = svn_repos_node_from_baton(edit_baton);

Received on 2019-09-30 22:27:02 CEST

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

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