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

[PATCH] Add notifications for hunks with fuzz

From: Daniel Näslund <daniel_at_longitudo.com>
Date: Tue, 2 Feb 2010 19:23:28 +0100

Hi!

[[[
Add notifications for hunks applied with fuzz.

* subversion/tests/cmdline/patch_tests.py
  (patch_with_fuzz): Add a line to the target to cause one hunk to apply
    with offset and fuzz. With that we have all kinds of currently know
    patch notifications tested.

* subversion/svn/notify.c
  (notify): Print a message for three different cases; fuzz, offset and
    both.

* subversion/include/svn_wc.h
  (svn_wc_notify_t): Add a new field hunk_fuzz.

* subversion/libsvn_client/patch.c
  (maybe_send_patch_notifications): Set the value of hunk_fuzz.

Patch by: Daniel Näslund <daniel{_AT_}longitudo.com>
]]]

There was one compiler warning about 'Format not a string literal' in
notify.c. Now there are two. I could have concatenated the two
svn_cmdline_printf() statements causing the warnings into one but not
without severely hurting readability. Perhaps someone else has a
solution. -Wno-literal perhaps? :-).

Daniel

Received on 2010-02-02 19:24:15 CET

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.