svn commit: r964106 - in /subversion/trunk/subversion: include/svn_diff.h libsvn_diff/parse-diff.c tests/libsvn_diff/parse-diff-test.c

2010-07-14 Thread dannas
Author: dannas Date: Wed Jul 14 17:28:43 2010 New Revision: 964106 URL: http://svn.apache.org/viewvc?rev=964106&view=rev Log: Use a hash table instead of an array for storing property patches. Makes it easier to insert new hunks. * subversion/include/svn_diff.h (svn_patch_t): Use a hash t

svn commit: r964059 - /subversion/trunk/subversion/libsvn_diff/parse-diff.c

2010-07-14 Thread dannas
Author: dannas Date: Wed Jul 14 14:24:54 2010 New Revision: 964059 URL: http://svn.apache.org/viewvc?rev=964059&view=rev Log: Fix erroneus allocation of svn_prop_patch_t. * subversion/libsvn_diff/parse-diff.c (add_property_hunk): Allocate space for a struct instead of a pointer. Suggeste

svn commit: r964031 - in /subversion/trunk/subversion: include/svn_diff.h libsvn_diff/parse-diff.c

2010-07-14 Thread dannas
Author: dannas Date: Wed Jul 14 12:34:05 2010 New Revision: 964031 URL: http://svn.apache.org/viewvc?rev=964031&view=rev Log: Introduce a no-op entry to svn_diff_operation_kind_t to avoid an uninitialized variable. * subversion/libsvn_diff/parse-diff.c (parse_next_hunk): Initia

svn commit: r963814 - in /subversion/trunk/subversion: include/svn_diff.h libsvn_diff/parse-diff.c tests/libsvn_diff/parse-diff-test.c

2010-07-13 Thread dannas
Author: dannas Date: Tue Jul 13 18:46:31 2010 New Revision: 963814 URL: http://svn.apache.org/viewvc?rev=963814&view=rev Log: Start recording what operation is perfomed on a property in a patch. * subversion/include/svn_diff.h (svn_prop_patch_t): New. Should only deal with the property par

svn commit: r962910 - /subversion/trunk/subversion/tests/cmdline/svnlook_tests.py

2010-07-10 Thread dannas
Author: dannas Date: Sat Jul 10 20:05:41 2010 New Revision: 962910 URL: http://svn.apache.org/viewvc?rev=962910&view=rev Log: Follow-up to r962906. Use '/' as separators for paths in diff tests. * subversion/tests/cmdline/svnlook_tests.py (diff_ignore_eolstyle): Forgot to use

svn commit: r962906 - /subversion/trunk/subversion/tests/cmdline/svnlook_tests.py

2010-07-10 Thread dannas
Author: dannas Date: Sat Jul 10 19:36:10 2010 New Revision: 962906 URL: http://svn.apache.org/viewvc?rev=962906&view=rev Log: Follow-up to r962905. Use '/' as separators for paths in diff tests. * subversion/tests/cmdline/svnlook_tests.py (test_print_property_diffs, diff_i

svn commit: r962905 - in /subversion/trunk/subversion: libsvn_client/diff.c tests/cmdline/diff_tests.py tests/cmdline/merge_tests.py

2010-07-10 Thread dannas
Author: dannas Date: Sat Jul 10 19:22:05 2010 New Revision: 962905 URL: http://svn.apache.org/viewvc?rev=962905&view=rev Log: For consistency, use '/' as separators for all paths in a diff. Previously the 'Property changes' line used the system specific separator. *

svn commit: r962895 - in /subversion/trunk/subversion: svnlook/main.c tests/cmdline/svnlook_tests.py

2010-07-10 Thread dannas
Author: dannas Date: Sat Jul 10 17:41:00 2010 New Revision: 962895 URL: http://svn.apache.org/viewvc?rev=962895&view=rev Log: Make svnlook print diff header for paths with only prop modifications. * subversion/svnlook/main.c (print_diff_tree): Print diff headers for property changes if

svn commit: r962890 - /subversion/trunk/subversion/libsvn_client/diff.c

2010-07-10 Thread dannas
Author: dannas Date: Sat Jul 10 17:22:21 2010 New Revision: 962890 URL: http://svn.apache.org/viewvc?rev=962890&view=rev Log: Only mark paths that contains diffs as visited. Previously we assumed that all paths that had been invoked by the diff callbacks would have changes that should be pri

svn commit: r962793 - /subversion/trunk/subversion/svnlook/main.c

2010-07-10 Thread dannas
Author: dannas Date: Sat Jul 10 08:51:09 2010 New Revision: 962793 URL: http://svn.apache.org/viewvc?rev=962793&view=rev Log: Follow-up to r962791. Fix build failure. * subversion/svnlook/main.c (display_prop_diffs): Remove garbage character that sneaked in and broke the build. Modi

svn commit: r962791 - /subversion/trunk/subversion/svnlook/main.c

2010-07-10 Thread dannas
Author: dannas Date: Sat Jul 10 08:33:25 2010 New Revision: 962791 URL: http://svn.apache.org/viewvc?rev=962791&view=rev Log: Remove i18n markers around the property header lines. We've removed those in the regular diff code to allow us to use them in the parsing. Doing the same

svn commit: r962788 - in /subversion/trunk/subversion: libsvn_client/diff.c tests/cmdline/diff_tests.py

2010-07-10 Thread dannas
Author: dannas Date: Sat Jul 10 08:20:01 2010 New Revision: 962788 URL: http://svn.apache.org/viewvc?rev=962788&view=rev Log: Follow-up to r962670. Adjust a diff test and remove XFail marker. The values in the diff_cmd_baton were correct. I got fooled by the other paths in the test beeing a

svn commit: r962670 - in /subversion/trunk/subversion: libsvn_client/diff.c tests/cmdline/depth_tests.py tests/cmdline/diff_tests.py tests/cmdline/merge_tests.py tests/cmdline/svnlook_tests.py

2010-07-09 Thread dannas
Author: dannas Date: Fri Jul 9 19:45:19 2010 New Revision: 962670 URL: http://svn.apache.org/viewvc?rev=962670&view=rev Log: Print a diff header even if the diff only contains changes to properties. We enable that by keeping a hashtable of visited paths and print the header for props if the

svn commit: r961789 - /subversion/trunk/subversion/libsvn_client/diff.c

2010-07-08 Thread dannas
Author: dannas Date: Thu Jul 8 14:47:52 2010 New Revision: 961789 URL: http://svn.apache.org/viewvc?rev=961789&view=rev Log: Follow-up to r961775. Make the doc string a bit clearer atleast. * subversion/libsvn_client/diff.c (adjust_paths_for_diff_labels): See above. Modified: subver

svn commit: r961775 - /subversion/trunk/subversion/libsvn_client/diff.c

2010-07-08 Thread dannas
Author: dannas Date: Thu Jul 8 14:08:43 2010 New Revision: 961775 URL: http://svn.apache.org/viewvc?rev=961775&view=rev Log: Move code that deals with adjusting paths for output to its own function. No semantic changes. Makes the code more readable and allows us to resuse the logic

svn commit: r960833 - /subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c

2010-07-06 Thread dannas
Author: dannas Date: Tue Jul 6 07:30:55 2010 New Revision: 960833 URL: http://svn.apache.org/viewvc?rev=960833&view=rev Log: Add XFailing test for parsing git diff headers with errors. The parsing is supposed to be strict and fail on lines with missing paths or headers that has non-all

svn commit: r960807 - /subversion/trunk/subversion/tests/cmdline/patch_tests.py

2010-07-05 Thread dannas
Author: dannas Date: Tue Jul 6 06:24:59 2010 New Revision: 960807 URL: http://svn.apache.org/viewvc?rev=960807&view=rev Log: Follow-up to r960800. Property changes should be notified in the same manner as is done for updates. * subversion/tests/cmdline/patch_tests.py (patch_with_proper

svn commit: r960800 - /subversion/trunk/subversion/tests/cmdline/patch_tests.py

2010-07-05 Thread dannas
Author: dannas Date: Tue Jul 6 06:08:09 2010 New Revision: 960800 URL: http://svn.apache.org/viewvc?rev=960800&view=rev Log: Add XFailing test for applying property diffs. The patch code can parse property diffs but it can not yet apply the found changes to a working copy. * subversion/t

svn commit: r959431 - /subversion/trunk/subversion/tests/cmdline/diff_tests.py

2010-06-30 Thread dannas
Author: dannas Date: Wed Jun 30 20:58:57 2010 New Revision: 959431 URL: http://svn.apache.org/viewvc?rev=959431&view=rev Log: * subversion/tests/cmdline/diff_tests.py (make_git_diff_header): Replace windows path separators with '/' for the diff labels. Modified: su

svn commit: r959415 - /subversion/trunk/subversion/libsvn_client/diff.c

2010-06-30 Thread dannas
Author: dannas Date: Wed Jun 30 19:23:56 2010 New Revision: 959415 URL: http://svn.apache.org/viewvc?rev=959415&view=rev Log: Print an appropiate git diff header if a path is moved. The diff code does not yet detect moves. We don't have a way to distinguish between a copied and moved

svn commit: r959413 - /subversion/trunk/subversion/libsvn_client/diff.c

2010-06-30 Thread dannas
Author: dannas Date: Wed Jun 30 19:11:29 2010 New Revision: 959413 URL: http://svn.apache.org/viewvc?rev=959413&view=rev Log: * subversion/libsvn_client/diff.c (diff_content_changed): Fix indentation. Modified: subversion/trunk/subversion/libsvn_client/diff.c Modified: subversion/t

svn commit: r959409 - /subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c

2010-06-30 Thread dannas
Author: dannas Date: Wed Jun 30 18:58:52 2010 New Revision: 959409 URL: http://svn.apache.org/viewvc?rev=959409&view=rev Log: Follow-up to r959356. * subversion/tests/libsvn_diff/parse-diff-test.c (git_unidiff): Remove note about the need to add more cases to this patch since we'

svn commit: r959408 - /subversion/trunk/subversion/tests/cmdline/diff_tests.py

2010-06-30 Thread dannas
Author: dannas Date: Wed Jun 30 18:54:12 2010 New Revision: 959408 URL: http://svn.apache.org/viewvc?rev=959408&view=rev Log: Follow-up to r958881. Use --git-diff flag when invoking 'svn diff'. * subversion/tests/cmdline/diff_tests.py (diff_git_format_wc_wc, diff_git

svn commit: r959406 - /subversion/trunk/subversion/libsvn_client/diff.c

2010-06-30 Thread dannas
Author: dannas Date: Wed Jun 30 18:44:41 2010 New Revision: 959406 URL: http://svn.apache.org/viewvc?rev=959406&view=rev Log: Revert r958260, 'only print the git diff header for deleted paths'. A git unidiff for a deleted path should contain hunks. Both Git and Mercurial print

svn commit: r959388 - in /subversion/trunk/subversion: libsvn_diff/parse-diff.c tests/libsvn_diff/parse-diff-test.c

2010-06-30 Thread dannas
Author: dannas Date: Wed Jun 30 17:55:25 2010 New Revision: 959388 URL: http://svn.apache.org/viewvc?rev=959388&view=rev Log: Add support for parsing git diffs. The parser is implemented as a lookup table. The idea is that we call different callbacks depending on what line we have just read

svn commit: r959356 - /subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c

2010-06-30 Thread dannas
Author: dannas Date: Wed Jun 30 15:49:51 2010 New Revision: 959356 URL: http://svn.apache.org/viewvc?rev=959356&view=rev Log: Add XFailing C-test for parsing 'git diffs' with both tree and text changes. * subversion/tests/libsvn_diff/parse-diff-tests.c (git_tree_and_text_unidiff

svn commit: r958937 - in /subversion/trunk/subversion: libsvn_client/diff.c libsvn_wc/diff.c

2010-06-29 Thread dannas
Author: dannas Date: Tue Jun 29 11:43:26 2010 New Revision: 958937 URL: http://svn.apache.org/viewvc?rev=958937&view=rev Log: Make 'svn diff --git-diff --show-copies-as-adds' show git diff headers for copied paths. At the moment this only works if we invoke the diff operation with

svn commit: r958881 - in /subversion/trunk/subversion: include/svn_client.h libsvn_client/deprecated.c libsvn_client/diff.c svn/cl.h svn/diff-cmd.c svn/log-cmd.c svn/main.c

2010-06-29 Thread dannas
Author: dannas Date: Tue Jun 29 08:49:58 2010 New Revision: 958881 URL: http://svn.apache.org/viewvc?rev=958881&view=rev Log: Introduce a new flag --git-diff for svn diff, specifying that we want to use git's extended diff format. With the diff format, a delete, copy or move may be

svn commit: r958725 - in /subversion/trunk/subversion: include/svn_diff.h libsvn_client/diff.c libsvn_diff/diff_file.c svn/main.c tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout

2010-06-28 Thread dannas
Author: dannas Date: Mon Jun 28 20:54:13 2010 New Revision: 958725 URL: http://svn.apache.org/viewvc?rev=958725&view=rev Log: Revert r958537 that introduces a new --extension flag for handling git diffs. The --extension mechanism is used for passing on arguments to external tools. But we d

svn commit: r958537 - in /subversion/trunk/subversion: include/svn_diff.h libsvn_client/diff.c libsvn_diff/diff_file.c svn/main.c tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout

2010-06-28 Thread dannas
Author: dannas Date: Mon Jun 28 10:57:50 2010 New Revision: 958537 URL: http://svn.apache.org/viewvc?rev=958537&view=rev Log: Add a new diff extension flag '--git-diff [-g]' for specifying that we want to use git's extended diff format. With the diff format, a delete,

svn commit: r958260 - /subversion/trunk/subversion/libsvn_client/diff.c

2010-06-26 Thread dannas
Author: dannas Date: Sat Jun 26 17:56:06 2010 New Revision: 958260 URL: http://svn.apache.org/viewvc?rev=958260&view=rev Log: With SVN_EXPERIMENTAL_PATCH defined, only print the git diff header for deleted paths instead of as previously adding all the hunks that have been deleted. We *know*

svn commit: r958232 - /subversion/trunk/subversion/libsvn_wc/node.c

2010-06-26 Thread dannas
Author: dannas Date: Sat Jun 26 14:55:09 2010 New Revision: 958232 URL: http://svn.apache.org/viewvc?rev=958232&view=rev Log: Follow-up to r958007. We have to check added before checking have_base as an add will be added below its parent, but can still overlay a switched (base)

svn commit: r958007 - /subversion/trunk/subversion/libsvn_wc/node.c

2010-06-25 Thread dannas
Author: dannas Date: Fri Jun 25 15:40:38 2010 New Revision: 958007 URL: http://svn.apache.org/viewvc?rev=958007&view=rev Log: Simplify some logic for determining if we can find a repos_relpath by walking the parents and retrieving their BASE values. * subversion/libsvn_wc/no

svn commit: r958005 - in /subversion/trunk/subversion: include/private/svn_wc_private.h libsvn_wc/node.c

2010-06-25 Thread dannas
Author: dannas Date: Fri Jun 25 15:27:26 2010 New Revision: 958005 URL: http://svn.apache.org/viewvc?rev=958005&view=rev Log: Follow-up to r957936. Fix wrong order of arguments. * subversion/include/private/svn_wc_private.h (svn_wc__node_get_repos_relpath): Fix wrong order of argum

svn commit: r957936 - in /subversion/trunk/subversion: include/private/svn_wc_private.h libsvn_wc/node.c

2010-06-25 Thread dannas
Author: dannas Date: Fri Jun 25 13:23:59 2010 New Revision: 957936 URL: http://svn.apache.org/viewvc?rev=957936&view=rev Log: Add function for fetching repos_relpath in libsvn_client. For motivation, I borrow what Bert said on IRC: Bert> New apis should start using repos_root, repos_

svn commit: r956792 - /subversion/trunk/subversion/libsvn_diff/parse-diff.c

2010-06-22 Thread dannas
Author: dannas Date: Tue Jun 22 06:53:24 2010 New Revision: 956792 URL: http://svn.apache.org/viewvc?rev=956792&view=rev Log: * subversion/libsvn_diff/parse-diff.c (svn_diff_parse_next_patch): Limit the scope of two variables. Modified: subversion/trunk/subversion/libsvn_diff/parse-di

svn commit: r956707 - /subversion/trunk/subversion/svn/status.c

2010-06-21 Thread dannas
Author: dannas Date: Mon Jun 21 21:33:58 2010 New Revision: 956707 URL: http://svn.apache.org/viewvc?rev=956707&view=rev Log: Fix compiler warnings about 'enumeration value not handled in switch' and 'combined_status already being defined' that appears when compiling wit

svn commit: r956349 - /subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c

2010-06-20 Thread dannas
Author: dannas Date: Sun Jun 20 11:49:01 2010 New Revision: 956349 URL: http://svn.apache.org/viewvc?rev=956349&view=rev Log: In the C-test for diff parsing, factor out code for testing content. Improves readability and makes it easier to write new tests. At the same time remove TODO a

svn commit: r956341 - /subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c

2010-06-20 Thread dannas
Author: dannas Date: Sun Jun 20 09:47:50 2010 New Revision: 956341 URL: http://svn.apache.org/viewvc?rev=956341&view=rev Log: Follow-up to r956330. Fix build failure in the test caused by me somehow managing to swap parameters in callers without noticing the compiler messages. * subver

svn commit: r956330 - /subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c

2010-06-20 Thread dannas
Author: dannas Date: Sun Jun 20 08:44:39 2010 New Revision: 956330 URL: http://svn.apache.org/viewvc?rev=956330&view=rev Log: Factor out the code that creates a patch file. * subversion/tests/libsvn_diff/parse-diff-test.c (test_parse_unidiff, test_parse_git_diff, test_parse_property_

svn commit: r955944 - /subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c

2010-06-18 Thread dannas
Author: dannas Date: Fri Jun 18 11:26:42 2010 New Revision: 955944 URL: http://svn.apache.org/viewvc?rev=955944&view=rev Log: * subversion/tests/libsvn_diff/parse-diff-test.c (...): s/SVN_ERR_ASSERT/SVN_TEST_ASSERT/. We don't want to core dump the tests. Suggested by: rhuijben

svn commit: r955931 - /subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c

2010-06-18 Thread dannas
Author: dannas Date: Fri Jun 18 10:58:06 2010 New Revision: 955931 URL: http://svn.apache.org/viewvc?rev=955931&view=rev Log: Add C-test for parsing property and text hunks at the same time. At the same time, add TODO note about the amount of duplicated code. Each test is almost 100 lines

svn commit: r955914 - /subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c

2010-06-18 Thread dannas
Author: dannas Date: Fri Jun 18 09:45:40 2010 New Revision: 955914 URL: http://svn.apache.org/viewvc?rev=955914&view=rev Log: Follow-up to r955844. Remove a out-commented check for patch->operation that sneaked in somehow. We haven't yet implemented the parsing for operations.

svn commit: r955844 - in /subversion/trunk/subversion: include/svn_diff.h libsvn_client/diff.c libsvn_diff/parse-diff.c tests/libsvn_diff/parse-diff-test.c

2010-06-17 Thread dannas
Author: dannas Date: Fri Jun 18 06:13:22 2010 New Revision: 955844 URL: http://svn.apache.org/viewvc?rev=955844&view=rev Log: Make 'svn patch' able to parse property diffs. It still can't apply them to the target and it can't make a separation between deleting the c

svn commit: r953368 - /subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c

2010-06-10 Thread dannas
Author: dannas Date: Thu Jun 10 16:13:57 2010 New Revision: 953368 URL: http://svn.apache.org/viewvc?rev=953368&view=rev Log: Add XFailing C-test for parsing 'git diffs'. Tests only some simpler cases, e.g. git headers without hunks and modified files without tree changes. Onc

svn commit: r953328 - in /subversion/trunk/subversion: include/svn_diff.h libsvn_client/diff.c

2010-06-10 Thread dannas
Author: dannas Date: Thu Jun 10 14:10:59 2010 New Revision: 953328 URL: http://svn.apache.org/viewvc?rev=953328&view=rev Log: Follow-up to r953302. Add svn_ prefix to the values of 'svn_diff_operation_kind_t' as they will be part of the global namespace. * subversion/libsvn

svn commit: r953302 - in /subversion/trunk/subversion: include/svn_diff.h libsvn_client/diff.c

2010-06-10 Thread dannas
Author: dannas Date: Thu Jun 10 12:24:39 2010 New Revision: 953302 URL: http://svn.apache.org/viewvc?rev=953302&view=rev Log: Make the 'diff_operation' type public. When we parse a 'git format' diff we need to pass on what operation should be performed on the file to the

svn commit: r952812 - /subversion/trunk/subversion/tests/cmdline/diff_tests.py

2010-06-08 Thread dannas
Author: dannas Date: Tue Jun 8 20:54:05 2010 New Revision: 952812 URL: http://svn.apache.org/viewvc?rev=952812&view=rev Log: Add new XFailing test for 'git diffs' url-url. Passes with SVN_EXPERIMENTAL_PATCH defined. With this tests, there's now three XFailing tests deali

svn commit: r952586 - /subversion/trunk/subversion/tests/cmdline/diff_tests.py

2010-06-08 Thread dannas
Author: dannas Date: Tue Jun 8 09:26:50 2010 New Revision: 952586 URL: http://svn.apache.org/viewvc?rev=952586&view=rev Log: Add url->wc test for creating 'git diffs'. At the same time, reformat the existing test for wc-wc to use be able to display what lines are differin

svn propchange: r952567 - svn:log

2010-06-08 Thread dannas
Author: dannas Revision: 952567 Modified property: svn:log Modified: svn:log at Tue Jun 8 08:26:25 2010 -- --- svn:log (original) +++ svn:log Tue Jun 8 08:26:25 2010 @@ -6,7 +6,7 @@ of having it in a baton and set-reset

svn commit: r952567 - /subversion/trunk/subversion/libsvn_client/diff.c

2010-06-08 Thread dannas
Author: dannas Date: Tue Jun 8 08:22:54 2010 New Revision: 952567 URL: http://svn.apache.org/viewvc?rev=952567&view=rev Log: Use an operation code instead of boolean flags for identifying what type of diff we're dealing with. And pass that op code as a parameter instead of having it i

svn commit: r952344 - /subversion/trunk/subversion/libsvn_client/diff.c

2010-06-07 Thread dannas
Author: dannas Date: Mon Jun 7 17:41:07 2010 New Revision: 952344 URL: http://svn.apache.org/viewvc?rev=952344&view=rev Log: Follow-up to r952205. Fix mixed up source and destination for copies and moves when printing git unidiff headers. * subversion/libsvn_client/di

svn commit: r952207 - /subversion/trunk/subversion/tests/cmdline/diff_tests.py

2010-06-07 Thread dannas
Author: dannas Date: Mon Jun 7 12:46:42 2010 New Revision: 952207 URL: http://svn.apache.org/viewvc?rev=952207&view=rev Log: Follow-up to r952149. Remove print statement left behind. * subversion/tests/cmdline/diff_tests.py (diff_git_format): Remove print statements. Modified: subver

svn commit: r952205 - /subversion/trunk/subversion/libsvn_client/diff.c

2010-06-07 Thread dannas
Author: dannas Date: Mon Jun 7 12:43:19 2010 New Revision: 952205 URL: http://svn.apache.org/viewvc?rev=952205&view=rev Log: Use several smaller functions for printing git diff headers instead of one. * subversion/libsvn_client/diff.c (print_git_diff_header): Split this one

svn commit: r952149 - /subversion/trunk/subversion/tests/cmdline/diff_tests.py

2010-06-07 Thread dannas
Author: dannas Date: Mon Jun 7 08:59:33 2010 New Revision: 952149 URL: http://svn.apache.org/viewvc?rev=952149&view=rev Log: Create XFailing testcase for 'git unidiffs'. The test handles added, deleted and modified paths and passes if SVN_EXPERIMENTAL_PATCH is defined. * su

svn propchange: r952116 - svn:log

2010-06-06 Thread dannas
Author: dannas Revision: 952116 Modified property: svn:log Modified: svn:log at Mon Jun 7 06:41:57 2010 -- --- svn:log (original) +++ svn:log Mon Jun 7 06:41:57 2010 @@ -8,17 +8,18 @@ following operations to a greek

svn commit: r952116 - /subversion/trunk/subversion/libsvn_client/diff.c

2010-06-06 Thread dannas
Author: dannas Date: Mon Jun 7 06:33:24 2010 New Revision: 952116 URL: http://svn.apache.org/viewvc?rev=952116&view=rev Log: Make 'svn diff' able to create 'git diffs' for added paths. At the same time, fix a bug where all subsequent diffs after a deleted file had git

svn commit: r951939 - /subversion/trunk/subversion/libsvn_client/diff.c

2010-06-06 Thread dannas
Author: dannas Date: Sun Jun 6 19:48:31 2010 New Revision: 951939 URL: http://svn.apache.org/viewvc?rev=951939&view=rev Log: Follow-up to r951859. Use the correct diff header for paths that are modified without tree changes. * subversion/libsvn_client/diff.c (print_git_diff_header): Write

svn commit: r951871 - /subversion/trunk/subversion/libsvn_client/diff.c

2010-06-06 Thread dannas
Author: dannas Date: Sun Jun 6 14:49:15 2010 New Revision: 951871 URL: http://svn.apache.org/viewvc?rev=951871&view=rev Log: First small step towards using the 'git unidiff' format for 'svn diff'. The parts that writes to the output stream are ifdef'd with SVN_EXPER

svn commit: r948550 - in /subversion/trunk/subversion: libsvn_client/patch.c tests/cmdline/patch_tests.py

2010-05-26 Thread dannas
Author: dannas Date: Wed May 26 19:31:22 2010 New Revision: 948550 URL: http://svn.apache.org/viewvc?rev=948550&view=rev Log: Fix #3643 - 'svn_client_patch() problem with "no newline at eof"'. When seeking past the target's version of the hunk, we assumed that the

svn commit: r947167 - /subversion/trunk/subversion/libsvn_wc/status.c

2010-05-21 Thread dannas
Author: dannas Date: Fri May 21 20:41:01 2010 New Revision: 947167 URL: http://svn.apache.org/viewvc?rev=947167&view=rev Log: Follow-up r947161. Remove unused svn_wc_entry_t parameter. * subversion/libsvn_wc/status.c (assemble_status send_status_structure): Remove 'parent_entry&#

svn commit: r947161 - in /subversion/trunk/subversion: include/svn_wc.h libsvn_wc/status.c

2010-05-21 Thread dannas
Author: dannas Date: Fri May 21 20:22:54 2010 New Revision: 947161 URL: http://svn.apache.org/viewvc?rev=947161&view=rev Log: First step in the move to using repos_root_url and repos_relpaths for describing urls in the status code. The idea is to reuse the parents repos_relpath when detectin

svn commit: r944478 - /subversion/trunk/subversion/libsvn_wc/status.c

2010-05-14 Thread dannas
Author: dannas Date: Fri May 14 21:22:52 2010 New Revision: 944478 URL: http://svn.apache.org/viewvc?rev=944478&view=rev Log: Remove some entry usages. I'm working on switching the whole file to use repos_relpaths instead of urls. * subversion/libsvn_wc/status.c (find_dir_url): Use

svn commit: r944439 - /subversion/trunk/subversion/libsvn_wc/status.c

2010-05-14 Thread dannas
Author: dannas Date: Fri May 14 20:07:22 2010 New Revision: 944439 URL: http://svn.apache.org/viewvc?rev=944439&view=rev Log: Remove a usage of svn_wc_entry_t for determining if a path is a file_external. * subversion/libsvn_wc/status.c (assemble_status): Use svn_wc__internal_is_file_exte

svn commit: r943986 - /subversion/trunk/subversion/libsvn_wc/status.c

2010-05-13 Thread dannas
Author: dannas Date: Thu May 13 19:32:11 2010 New Revision: 943986 URL: http://svn.apache.org/viewvc?rev=943986&view=rev Log: Don't use svn_wc_entry for fetching an url. * subversion/libsvn_wc/status.c (assemble_status): Fetch the url with a node func. Use svn_wc__check_wc_r

svn commit: r943683 - in /subversion/trunk/subversion: include/svn_wc.h libsvn_wc/status.c svn/status-cmd.c

2010-05-12 Thread dannas
Author: dannas Date: Wed May 12 20:57:45 2010 New Revision: 943683 URL: http://svn.apache.org/viewvc?rev=943683&view=rev Log: Since we need the changelist information inside libsvn_wc, we might aswell put it in svn_wc_status3_t and save us the overhead of fetching it again in the call

svn commit: r943571 - /subversion/trunk/subversion/libsvn_wc/status.c

2010-05-12 Thread dannas
Author: dannas Date: Wed May 12 16:40:08 2010 New Revision: 943571 URL: http://svn.apache.org/viewvc?rev=943571&view=rev Log: Remove two usages of svn_wc_entry_t for checking if we have some interresting status to return. * subversion/libsvn_wc/status.c (assemble_status): Use lock

svn commit: r943498 - /subversion/trunk/subversion/include/svn_wc.h

2010-05-12 Thread dannas
Author: dannas Date: Wed May 12 13:56:08 2010 New Revision: 943498 URL: http://svn.apache.org/viewvc?rev=943498&view=rev Log: Update doc string for defgroup svn_wc_status. * subversion/include/svn_wc.h (svn_wc_status): Add description of the use of the new svn_wc_walk_status() func

svn commit: r943252 - /subversion/trunk/COMMITTERS

2010-05-11 Thread dannas
Author: dannas Date: Tue May 11 19:54:08 2010 New Revision: 943252 URL: http://svn.apache.org/viewvc?rev=943252&view=rev Log: * COMMITTERS (dannas): Add myself to the full committer section. Modified: subversion/trunk/COMMITTERS Modified: subversion/trunk/COMMITTERS URL:

svn commit: r942605 - /subversion/trunk/subversion/libsvn_wc/status.c

2010-05-09 Thread dannas
Author: dannas Date: Sun May 9 20:14:09 2010 New Revision: 942605 URL: http://svn.apache.org/viewvc?rev=942605&view=rev Log: Replace some uses of entry->kind. * subversion/libsvn_wc/status.c (assemble_status.c): Use information fetched with svn_wc__db_read_info() for detecting what

svn commit: r942591 - in /subversion/trunk/subversion: include/svn_wc.h libsvn_client/delete.c libsvn_wc/status.c svn/status-cmd.c

2010-05-09 Thread dannas
Author: dannas Date: Sun May 9 19:35:28 2010 New Revision: 942591 URL: http://svn.apache.org/viewvc?rev=942591&view=rev Log: First step of removing the usage of the entry field in svn_wc_status3_t for detecting if a path is versioned. No semantic changes. We still have a number of usages in

svn commit: r942162 - /subversion/trunk/subversion/libsvn_wc/status.c

2010-05-07 Thread dannas
Author: dannas Date: Fri May 7 18:12:53 2010 New Revision: 942162 URL: http://svn.apache.org/viewvc?rev=942162&view=rev Log: Change doc comment referring to traversal_info to talk about external_func instead. The status code has replaced the use of traversal_info wit

svn commit: r940982 - /subversion/trunk/subversion/libsvn_wc/util.c

2010-05-04 Thread dannas
Author: dannas Date: Tue May 4 17:41:24 2010 New Revision: 940982 URL: http://svn.apache.org/viewvc?rev=940982&view=rev Log: Fix wrongly choosen pools. * subversion/libsvn_wc/util.c (svn_wc__status2_from_3): Use result_pool for the things that should be returned and scratch_pool for

svn commit: r940651 - in /subversion/trunk/subversion: include/svn_wc.h libsvn_wc/status.c libsvn_wc/util.c

2010-05-03 Thread dannas
Author: dannas Date: Mon May 3 22:01:53 2010 New Revision: 940651 URL: http://svn.apache.org/viewvc?rev=940651&view=rev Log: Remove field 'tree_conflict' from svn_wc_status3_t and replace the uses of it with status->conflicted. * subversion/include/svn_wc.h (svn_wc_status3

svn commit: r940600 - /subversion/trunk/subversion/libsvn_wc/status.c

2010-05-03 Thread dannas
Author: dannas Date: Mon May 3 20:21:56 2010 New Revision: 940600 URL: http://svn.apache.org/viewvc?rev=940600&view=rev Log: Add comment to describe why we only check for tree conflicts when setting status->conflicted for unversioned paths. It was the only scenario I could come up with

svn propchange: r940111 - svn:log

2010-05-03 Thread dannas
Author: dannas Revision: 940111 Modified property: svn:log Modified: svn:log at Mon May 3 20:06:25 2010 -- --- svn:log (original) +++ svn:log Mon May 3 20:06:25 2010 @@ -15,8 +15,8 @@ status->tree_confl

svn commit: r940162 - /subversion/trunk/subversion/svn/status-cmd.c

2010-05-01 Thread dannas
Author: dannas Date: Sun May 2 06:05:30 2010 New Revision: 940162 URL: http://svn.apache.org/viewvc?rev=940162&view=rev Log: As part of WC-NG, use a node func for fetching a changelist instead of reading from the entry field. * subversion/svn/status-cmd.c (print_status):

svn commit: r940159 - /subversion/trunk/subversion/include/svn_wc.h

2010-05-01 Thread dannas
Author: dannas Date: Sun May 2 05:47:50 2010 New Revision: 940159 URL: http://svn.apache.org/viewvc?rev=940159&view=rev Log: Be less specific about conflict types that svn_wc_status3_t can detect. We will probably have more conflict tyepds in the future. Bert said on IRC: 1.7 will most li

svn commit: r940118 - /subversion/trunk/subversion/include/svn_wc.h

2010-05-01 Thread dannas
Author: dannas Date: Sat May 1 22:20:27 2010 New Revision: 940118 URL: http://svn.apache.org/viewvc?rev=940118&view=rev Log: Follow-up to r940111. Add doc comment to the new 'conflicted' field. * subversion/include/svn_wc.h (svn_wc_status3_t): See above. Modified: su

svn commit: r940117 - in /subversion/trunk/subversion: libsvn_wc/node.c svn/status.c

2010-05-01 Thread dannas
Author: dannas Date: Sat May 1 22:09:51 2010 New Revision: 940117 URL: http://svn.apache.org/viewvc?rev=940117&view=rev Log: Follow-up to r940111. Fix OUT parameters not beeing set by default. * subversion/libsvn_wc/node.c (svn_wc__node_check_conflicts): Initialize all OUT parameters to F

svn commit: r940113 - /subversion/trunk/subversion/include/svn_wc.h

2010-05-01 Thread dannas
Author: dannas Date: Sat May 1 21:25:40 2010 New Revision: 940113 URL: http://svn.apache.org/viewvc?rev=940113&view=rev Log: * subversion/include/svn_wc.h (svn_wc_conflicted_p3): Remove adm_access from doc comment, since it's not a parameter. Modified: subversion/trunk/s

svn commit: r940111 - in /subversion/trunk/subversion: include/private/svn_wc_private.h include/svn_wc.h libsvn_wc/node.c libsvn_wc/status.c svn/cl.h svn/status-cmd.c svn/status.c

2010-05-01 Thread dannas
Author: dannas Date: Sat May 1 21:06:36 2010 New Revision: 940111 URL: http://svn.apache.org/viewvc?rev=940111&view=rev Log: A first step towards avoiding expensive computations involving conflicts in the status code. The idea is to have one single flag indicating if a path has any confl

svn commit: r940019 - /subversion/trunk/subversion/include/svn_wc.h

2010-05-01 Thread dannas
Author: dannas Date: Sat May 1 13:57:20 2010 New Revision: 940019 URL: http://svn.apache.org/viewvc?rev=940019&view=rev Log: Use local_abspath instead of path in doc comment to match the name in the declaration. * subversion/include/svn_wc.h (svn_wc_conflicted_p3): See above. Modi

svn commit: r938595 - /subversion/trunk/subversion/svn/status.c

2010-04-27 Thread dannas
Author: dannas Date: Tue Apr 27 18:32:04 2010 New Revision: 938595 URL: http://svn.apache.org/viewvc?rev=938595&view=rev Log: Copy-paste a FIXME comment from r937512 that explains how we're dealing with revisions for added but not yet committed nodes. * subversion/svn/status.c (pri

svn commit: r938546 - /subversion/trunk/notes/editor-v2.txt

2010-04-27 Thread dannas
Author: dannas Date: Tue Apr 27 16:29:24 2010 New Revision: 938546 URL: http://svn.apache.org/viewvc?rev=938546&view=rev Log: * notes/editor-v2.txt (...): Remove references to the svnpatch editor since it's removed from the code base. Modified: subversion/trunk/notes/edit

svn propchange: r937468 - svn:log

2010-04-26 Thread dannas
Author: dannas Revision: 937468 Modified property: svn:log Modified: svn:log at Tue Apr 27 06:23:17 2010 -- --- svn:log (original) +++ svn:log Tue Apr 27 06:23:17 2010 @@ -44,7 +44,7 @@ We have three compability concerns

svn propchange: r938246 - svn:log

2010-04-26 Thread dannas
Author: dannas Revision: 938246 Modified property: svn:log Modified: svn:log at Tue Apr 27 06:21:16 2010 -- --- svn:log (original) +++ svn:log Tue Apr 27 06:21:16 2010 @@ -1,4 +1,4 @@ -Implmenent converter function for

svn commit: r938246 - in /subversion/trunk/subversion: include/private/svn_wc_private.h libsvn_client/deprecated.c libsvn_wc/deprecated.c libsvn_wc/util.c

2010-04-26 Thread dannas
Author: dannas Date: Mon Apr 26 21:21:15 2010 New Revision: 938246 URL: http://svn.apache.org/viewvc?rev=938246&view=rev Log: Implmenent converter function for converting svn_wc_status3_t to svn_wc_status2_t. * subversion/include/private/svn_wc_private.h (svn_wc__status2_from_3): Re

svn commit: r937824 - /subversion/trunk/subversion/libsvn_wc/util.c

2010-04-25 Thread dannas
Author: dannas Date: Sun Apr 25 17:05:56 2010 New Revision: 937824 URL: http://svn.apache.org/viewvc?rev=937824&view=rev Log: * subversion/libsvn_wc/util.c (svn_wc__status2_from_3): Fix typo. The parameter scratch_pool should be result_pool. Modified: subversion/trunk/subver

svn commit: r937520 - in /subversion/trunk/subversion: include/svn_wc.h libsvn_wc/status.c svn/status.c

2010-04-23 Thread dannas
Author: dannas Date: Fri Apr 23 21:05:50 2010 New Revision: 937520 URL: http://svn.apache.org/viewvc?rev=937520&view=rev Log: As part of WC-NG replace calls that fetches lock information from the entry field in svn_wc_status3_t. We could have just used a boolean locked field and let

svn commit: r937475 - /subversion/trunk/subversion/libsvn_wc/util.c

2010-04-23 Thread dannas
Author: dannas Date: Fri Apr 23 19:11:34 2010 New Revision: 937475 URL: http://svn.apache.org/viewvc?rev=937475&view=rev Log: * subversion/libsvn_wc/util.c (svn_wc__status2_from_3): Add note about the need to do a proper conversion instead of just a cast. Modified: subversion/t

svn commit: r937468 - in /subversion/trunk/subversion: include/private/svn_wc_private.h include/svn_wc.h libsvn_wc/node.c libsvn_wc/status.c svn/status-cmd.c svn/status.c tests/cmdline/copy_tests.py t

2010-04-23 Thread dannas
Author: dannas Date: Fri Apr 23 18:58:01 2010 New Revision: 937468 URL: http://svn.apache.org/viewvc?rev=937468&view=rev Log: As part of WC-NG, replace entry calls for revisions from svn_wc_status3_t related code. While doing that, we define a strict idea of what a revision in svn_wc_statu

svn commit: r935319 - /subversion/trunk/subversion/libsvn_client/export.c

2010-04-18 Thread dannas
Author: dannas Date: Sun Apr 18 09:01:37 2010 New Revision: 935319 URL: http://svn.apache.org/viewvc?rev=935319&view=rev Log: As part of WC-NG, remove some uses of svn_wc_entry_t. * subversion/libsvn_client/export.c (copy_one_versioned_file): Use svn_wc__node_is_status_deleted() ins

svn commit: r935314 - /subversion/trunk/subversion/libsvn_client/delete.c

2010-04-18 Thread dannas
Author: dannas Date: Sun Apr 18 08:23:35 2010 New Revision: 935314 URL: http://svn.apache.org/viewvc?rev=935314&view=rev Log: As part of WC-NG, remove a usage of svn_wc_entry_t. * subversion/libsvn_client/delete.c (svn_client__can_delete): Use svn_wc__node_is_file_external() instead

svn commit: r935177 - in /subversion/trunk/subversion: svnversion/main.c tests/cmdline/svnversion_tests.py

2010-04-17 Thread dannas
Author: dannas Date: Sat Apr 17 13:58:01 2010 New Revision: 935177 URL: http://svn.apache.org/viewvc?rev=935177&view=rev Log: After the changes in r922176, versioned but not yet committed files were not properly detected. Fixed now! * subversion/svnversion/main.c (main): Check for inv

svn commit: r934592 - /subversion/trunk/subversion/tests/cmdline/patch_tests.py

2010-04-15 Thread dannas
Author: dannas Date: Thu Apr 15 20:57:52 2010 New Revision: 934592 URL: http://svn.apache.org/viewvc?rev=934592&view=rev Log: * subversion/tests/cmdline/patch_tests.py (patch_with_ignore_whitespaces): Use make_patch_path() instead of mkstemp() to create a filename for the patch

svn commit: r934588 - in /subversion/trunk/subversion: include/svn_client.h include/svn_diff.h libsvn_client/patch.c libsvn_diff/parse-diff.c

2010-04-15 Thread dannas
Author: dannas Date: Thu Apr 15 20:42:30 2010 New Revision: 934588 URL: http://svn.apache.org/viewvc?rev=934588&view=rev Log: Follow-up to r934569. Add missing doc comments. * subversion/include/svn_diff.h (svn_diff_parse_next_patch): Add missing doc comment for IGNORE_WHITESP

svn commit: r934569 - in /subversion/trunk/subversion: include/ libsvn_client/ libsvn_diff/ svn/ tests/cmdline/ tests/libsvn_client/ tests/libsvn_diff/

2010-04-15 Thread dannas
Author: dannas Date: Thu Apr 15 19:48:28 2010 New Revision: 934569 URL: http://svn.apache.org/viewvc?rev=934569&view=rev Log: Fix #3610 - 'svn patch' should be able to ignore whitespace changes. Mail clients often mess with whitespaces in different ways: * remove leading whit

svn commit: r933864 - /subversion/branches/svn-patch-improvements/subversion/libsvn_client/patch.c

2010-04-14 Thread dannas
Author: dannas Date: Wed Apr 14 07:02:43 2010 New Revision: 933864 URL: http://svn.apache.org/viewvc?rev=933864&view=rev Log: * subversion/libsvn_client/patch.c (find_existing_children): Use svn_wc_status3_t as parameter instead of svn_wc_status2_t. Modified: subversion/branches

svn commit: r933863 [5/5] - in /subversion/branches/svn-patch-improvements: ./ notes/commit-access-templates/ notes/wc-ng/ subversion/bindings/javahl/native/ subversion/bindings/swig/ruby/svn/ subvers

2010-04-13 Thread dannas
Modified: subversion/branches/svn-patch-improvements/subversion/svn/status-cmd.c URL: http://svn.apache.org/viewvc/subversion/branches/svn-patch-improvements/subversion/svn/status-cmd.c?rev=933863&r1=933862&r2=933863&view=diff ===

<    1   2   3   >