summarylogtreecommitdiffstats
path: root/svn1.9.patch
blob: 9ae8bf7f177f319f788036435e5d7c04ffa4be6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
diff -crB old/pysvn_client_cmd_info.cpp new/pysvn_client_cmd_info.cpp
*** old/pysvn_client_cmd_info.cpp	2013-04-26 10:31:54.000000000 +0200
--- new/pysvn_client_cmd_info.cpp	2015-09-04 20:17:52.734971925 +0200
***************
*** 20,26 ****
  #include "pysvn_svnenv.hpp"
  #include "svn_path.h"
  #include "svn_config.h"
- #include "svn_sorts.h"
  #include "pysvn_static_strings.hpp"
  
  static const char *g_utf_8 = "utf-8";
--- 20,25 ----
***************
*** 1380,1395 ****
          throw_client_error( e );
      }
  
!     apr_array_header_t *statusarray = svn_sort__hash( status_hash, svn_sort_compare_items_as_paths, pool );
  
!     // Loop over array, printing each name/status-structure
!     for (int i = statusarray->nelts-1; i >= 0; i--)
      {
!         const svn_sort__item_t *item = &APR_ARRAY_IDX( statusarray, i, const svn_sort__item_t );
!         pysvn_wc_status_t *status = (pysvn_wc_status_t *)item->value;
  
          entries_list.append( toObject(
!                 Py::String( osNormalisedPath( (const char *)item->key, pool ), "UTF-8" ),
                  *status,
                  pool,
                  m_wrapper_status,
--- 1379,1398 ----
          throw_client_error( e );
      }
  
!     // Loop over array, returning each name/status-structure
  
!     for( apr_hash_index_t *hi = apr_hash_first( pool, status_hash );
!             hi != NULL;
!                 hi = apr_hash_next( hi ) )
      {
!         const void *key;
!         void *val;
!         apr_hash_this( hi, &key, NULL, &val );
! 
!         pysvn_wc_status_t *status = (pysvn_wc_status_t *)val;
  
          entries_list.append( toObject(
!                 Py::String( osNormalisedPath( (const char *)key, pool ), "UTF-8" ),
                  *status,
                  pool,
                  m_wrapper_status,
***************
*** 1397,1401 ****
--- 1400,1406 ----
                  m_wrapper_lock ) );
      }
  
+     entries_list.sort();
+ 
      return entries_list;
  }
diff -crB old/pysvn_client_cmd_list.cpp new/pysvn_client_cmd_list.cpp
*** old/pysvn_client_cmd_list.cpp	2010-01-17 17:54:24.000000000 +0100
--- new/pysvn_client_cmd_list.cpp	2015-09-04 20:19:02.504631028 +0200
***************
*** 20,33 ****
  #include "pysvn_svnenv.hpp"
  #include "svn_path.h"
  #include "svn_config.h"
- #include "svn_sorts.h"
  #include "pysvn_static_strings.hpp"
  
- static int compare_items_as_paths( const svn_sort__item_t *a, const svn_sort__item_t *b)
- {
-     return svn_path_compare_paths ((const char *)a->key, (const char *)b->key);
- }
- 
  Py::Object pysvn_client::cmd_ls( const Py::Tuple &a_args, const Py::Dict &a_kws )
  {
      static argument_description args_desc[] =
--- 20,27 ----
***************
*** 100,108 ****
          throw_client_error( e );
      }
  
- 
-     apr_array_header_t *array = svn_sort__hash( hash, compare_items_as_paths, pool );
- 
      std::string base_path;
      if( !norm_path.empty() )
      {
--- 94,99 ----
***************
*** 113,124 ****
      // convert the entries into python objects
      Py::List entries_list;
  
!     for( int i = 0; i < array->nelts; ++i )
      {
!         svn_sort__item_t *item = &APR_ARRAY_IDX( array, i, svn_sort__item_t );
  
!         const char *utf8_entryname = static_cast<const char *>( item->key );
!         svn_dirent_t *dirent = static_cast<svn_dirent_t *>( apr_hash_get( hash, utf8_entryname, item->klen ) );
  
          std::string full_name( base_path );
          full_name += utf8_entryname;
--- 104,119 ----
      // convert the entries into python objects
      Py::List entries_list;
  
!     for( apr_hash_index_t *hi = apr_hash_first( pool, hash );
!             hi != NULL;
!                 hi = apr_hash_next( hi ) )
      {
!         const void *key;
!         void *val;
!         apr_hash_this( hi, &key, NULL, &val );
  
!         const char *utf8_entryname = static_cast<const char *>( key );
!         svn_dirent_t *dirent = static_cast<svn_dirent_t *>( val );
  
          std::string full_name( base_path );
          full_name += utf8_entryname;
diff -crB old/pysvn_enum_string.cpp new/pysvn_enum_string.cpp
*** old/pysvn_enum_string.cpp	2013-07-01 11:12:18.000000000 +0200
--- new/pysvn_enum_string.cpp	2015-09-04 20:18:50.842688024 +0200
***************
*** 22,49 ****
  : m_type_name( "opt_revision_kind" )
  {
      // No revision information given.
!     add(svn_opt_revision_unspecified, "unspecified");
  
      // revision given as number
!     add(svn_opt_revision_number, "number");
  
      // revision given as date
!     add(svn_opt_revision_date, "date");
  
      // rev of most recent change
!     add(svn_opt_revision_committed, "committed");
  
      // (rev of most recent change) - 1
!     add(svn_opt_revision_previous, "previous");
  
      // .svn/entries current revision
!     add(svn_opt_revision_base, "base");
  
      // current, plus local mods
!     add(svn_opt_revision_working, "working");
  
      // repository youngest
!     add(svn_opt_revision_head, "head");
  }
  
  template <> EnumString< svn_wc_notify_action_t >::EnumString()
--- 22,49 ----
  : m_type_name( "opt_revision_kind" )
  {
      // No revision information given.
!     add( svn_opt_revision_unspecified, "unspecified" );
  
      // revision given as number
!     add( svn_opt_revision_number, "number" );
  
      // revision given as date
!     add( svn_opt_revision_date, "date" );
  
      // rev of most recent change
!     add( svn_opt_revision_committed, "committed" );
  
      // (rev of most recent change) - 1
!     add( svn_opt_revision_previous, "previous" );
  
      // .svn/entries current revision
!     add( svn_opt_revision_base, "base" );
  
      // current, plus local mods
!     add( svn_opt_revision_working, "working" );
  
      // repository youngest
!     add( svn_opt_revision_head, "head" );
  }
  
  template <> EnumString< svn_wc_notify_action_t >::EnumString()
***************
*** 183,188 ****
--- 184,196 ----
      add( svn_wc_notify_foreign_copy_begin, "foreign_copy_begin" );
      add( svn_wc_notify_move_broken, "move_broken" );
  #endif
+ #if defined( PYSVN_HAS_SVN_1_9 )
+     add( svn_wc_notify_cleanup_external, "cleanup_external" );
+     add( svn_wc_notify_failed_requires_target, "failed_requires_target" );
+     add( svn_wc_notify_info_external, "info_external" );
+     add( svn_wc_notify_commit_finalizing, "commit_finalizing" );
+ #endif
+ 
  }
  
  template <> EnumString< svn_wc_status_kind >::EnumString()
***************
*** 275,280 ****
--- 283,292 ----
  
      // Modified state got conflicting mods.
      add( svn_wc_notify_state_conflicted, "conflicted" );
+ 
+     // QQQ: When was this symbol added?
+     // The source to copy the file from is missing.
+     add( svn_wc_notify_state_source_missing, "source_missing" );
  }
  
  template <> EnumString< svn_wc_schedule_t >::EnumString()
***************
*** 307,312 ****
--- 319,332 ----
  
      // something's here, but we don't know what
      add( svn_node_unknown, "unknown" );
+ 
+ #if defined( PYSVN_HAS_SVN_1_8 )
+    // symbolic link
+    // @note This value is not currently used by the public API.
+   add( svn_node_symlink, "symlink" );
+ #endif
+ 
+ 
  }
  
  #if defined( PYSVN_HAS_DIFF_FILE_IGNORE_SPACE )
***************
*** 399,410 ****
      // If their were files to choose from, select one as a way of
      // resolving the conflict here and now.  libsvn_wc will then do the
      // work of "installing" the chosen file.
!     add( svn_wc_conflict_choose_base, "base" );   // user chooses the original version
!     add( svn_wc_conflict_choose_theirs_full, "theirs_full" ); // user chooses incoming version
!     add( svn_wc_conflict_choose_mine_full, "mine_full" );   // user chooses own version
!     add( svn_wc_conflict_choose_theirs_conflict, "theirs_conflict" ); // user chooses incoming (for conflicted hunks)
!     add( svn_wc_conflict_choose_mine_conflict, "mine_conflict" );   // user chooses own (for conflicted hunks)
!     add( svn_wc_conflict_choose_merged, "merged" ); // user chooses the merged version
  }
  #endif
  
--- 419,440 ----
      // If their were files to choose from, select one as a way of
      // resolving the conflict here and now.  libsvn_wc will then do the
      // work of "installing" the chosen file.
!     // user chooses the original version
!     add( svn_wc_conflict_choose_base, "base" );
!     // user chooses incoming version
!     add( svn_wc_conflict_choose_theirs_full, "theirs_full" );
!     // user chooses own version
!     add( svn_wc_conflict_choose_mine_full, "mine_full" );
!     // user chooses incoming (for conflicted hunks)
!     add( svn_wc_conflict_choose_theirs_conflict, "theirs_conflict" );
!     // user chooses own (for conflicted hunks)
!     add( svn_wc_conflict_choose_mine_conflict, "mine_conflict" );
!     // user chooses the merged version
!     add( svn_wc_conflict_choose_merged, "merged" );
! #if defined( PYSVN_HAS_SVN_1_8 )
!     //undecided
!     add( svn_wc_conflict_choose_unspecified, "unspecified" );
! #endif
  }
  #endif
  
***************
*** 422,436 ****
  //--------------------------------------------------------------------------------
  template <> void pysvn_enum< svn_opt_revision_kind >::init_type(void)
  {
!     behaviors().name("opt_revision_kind");
!     behaviors().doc("opt_revision_kind enumeration");
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_opt_revision_kind >::init_type(void)
  {
!     behaviors().name("opt_revision_kind");
!     behaviors().doc("opt_revision_kind value");
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
--- 452,466 ----
  //--------------------------------------------------------------------------------
  template <> void pysvn_enum< svn_opt_revision_kind >::init_type(void)
  {
!     behaviors().name( "opt_revision_kind" );
!     behaviors().doc( "opt_revision_kind enumeration" );
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_opt_revision_kind >::init_type(void)
  {
!     behaviors().name( "opt_revision_kind" );
!     behaviors().doc( "opt_revision_kind value" );
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
***************
*** 440,454 ****
  
  template <> void pysvn_enum< svn_wc_notify_action_t >::init_type(void)
  {
!     behaviors().name("wc_notify_action");
!     behaviors().doc("wc_notify_action enumeration");
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_notify_action_t >::init_type(void)
  {
!     behaviors().name("wc_notify_action");
!     behaviors().doc("wc_notify_action value");
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
--- 470,484 ----
  
  template <> void pysvn_enum< svn_wc_notify_action_t >::init_type(void)
  {
!     behaviors().name( "wc_notify_action" );
!     behaviors().doc( "wc_notify_action enumeration" );
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_notify_action_t >::init_type(void)
  {
!     behaviors().name( "wc_notify_action" );
!     behaviors().doc( "wc_notify_action value" );
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
***************
*** 458,472 ****
  
  template <> void pysvn_enum< svn_wc_status_kind >::init_type(void)
  {
!     behaviors().name("wc_status_kind");
!     behaviors().doc("wc_status_kind enumeration");
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_status_kind >::init_type(void)
  {
!     behaviors().name("wc_status_kind");
!     behaviors().doc("wc_status_kind value");
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
--- 488,502 ----
  
  template <> void pysvn_enum< svn_wc_status_kind >::init_type(void)
  {
!     behaviors().name( "wc_status_kind" );
!     behaviors().doc( "wc_status_kind enumeration" );
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_status_kind >::init_type(void)
  {
!     behaviors().name( "wc_status_kind" );
!     behaviors().doc( "wc_status_kind value" );
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
***************
*** 476,490 ****
  
  template <> void pysvn_enum< svn_wc_schedule_t >::init_type(void)
  {
!     behaviors().name("wc_schedule");
!     behaviors().doc("wc_schedule enumeration");
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_schedule_t >::init_type(void)
  {
!     behaviors().name("wc_schedule");
!     behaviors().doc("wc_schedule value");
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
--- 506,520 ----
  
  template <> void pysvn_enum< svn_wc_schedule_t >::init_type(void)
  {
!     behaviors().name( "wc_schedule" );
!     behaviors().doc( "wc_schedule enumeration" );
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_schedule_t >::init_type(void)
  {
!     behaviors().name( "wc_schedule" );
!     behaviors().doc( "wc_schedule value" );
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
***************
*** 494,508 ****
  
  template <> void pysvn_enum< svn_wc_merge_outcome_t >::init_type(void)
  {
!     behaviors().name("wc_merge_outcome");
!     behaviors().doc("wc_merge_outcome enumeration");
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_merge_outcome_t >::init_type(void)
  {
!     behaviors().name("wc_merge_outcome");
!     behaviors().doc("wc_merge_outcome value");
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
--- 524,538 ----
  
  template <> void pysvn_enum< svn_wc_merge_outcome_t >::init_type(void)
  {
!     behaviors().name( "wc_merge_outcome" );
!     behaviors().doc( "wc_merge_outcome enumeration" );
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_merge_outcome_t >::init_type(void)
  {
!     behaviors().name( "wc_merge_outcome" );
!     behaviors().doc( "wc_merge_outcome value" );
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
***************
*** 512,526 ****
  
  template <> void pysvn_enum< svn_wc_notify_state_t >::init_type(void)
  {
!     behaviors().name("wc_notify_state");
!     behaviors().doc("wc_notify_state enumeration");
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_notify_state_t >::init_type(void)
  {
!     behaviors().name("wc_notify_state");
!     behaviors().doc("wc_notify_state value");
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
--- 542,556 ----
  
  template <> void pysvn_enum< svn_wc_notify_state_t >::init_type(void)
  {
!     behaviors().name( "wc_notify_state" );
!     behaviors().doc( "wc_notify_state enumeration" );
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_notify_state_t >::init_type(void)
  {
!     behaviors().name( "wc_notify_state" );
!     behaviors().doc( "wc_notify_state value" );
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
***************
*** 530,544 ****
  
  template <> void pysvn_enum< svn_node_kind_t >::init_type(void)
  {
!     behaviors().name("node_kind");
!     behaviors().doc("node_kind enumeration");
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_node_kind_t >::init_type(void)
  {
!     behaviors().name("node_kind");
!     behaviors().doc("node_kind value");
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
--- 560,574 ----
  
  template <> void pysvn_enum< svn_node_kind_t >::init_type(void)
  {
!     behaviors().name( "node_kind" );
!     behaviors().doc( "node_kind enumeration" );
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_node_kind_t >::init_type(void)
  {
!     behaviors().name( "node_kind" );
!     behaviors().doc( "node_kind value" );
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
***************
*** 549,563 ****
  #if defined( PYSVN_HAS_DIFF_FILE_IGNORE_SPACE )
  template <> void pysvn_enum< svn_diff_file_ignore_space_t >::init_type(void)
  {
!     behaviors().name("diff_file_ignore_space");
!     behaviors().doc("diff_file_ignore_space enumeration");
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_diff_file_ignore_space_t >::init_type(void)
  {
!     behaviors().name("diff_file_ignore_space");
!     behaviors().doc("diff_file_ignore_space value");
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
--- 579,593 ----
  #if defined( PYSVN_HAS_DIFF_FILE_IGNORE_SPACE )
  template <> void pysvn_enum< svn_diff_file_ignore_space_t >::init_type(void)
  {
!     behaviors().name( "diff_file_ignore_space" );
!     behaviors().doc( "diff_file_ignore_space enumeration" );
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_diff_file_ignore_space_t >::init_type(void)
  {
!     behaviors().name( "diff_file_ignore_space" );
!     behaviors().doc( "diff_file_ignore_space value" );
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
***************
*** 569,583 ****
  #if defined( PYSVN_HAS_CLIENT_DIFF_SUMMARIZE )
  template <> void pysvn_enum< svn_client_diff_summarize_kind_t >::init_type(void)
  {
!     behaviors().name("client_diff_summarize_kind");
!     behaviors().doc("client_diff_summarize_kind enumeration");
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_client_diff_summarize_kind_t >::init_type(void)
  {
!     behaviors().name("client_diff_summarize_kind");
!     behaviors().doc("client_diff_summarize_kind value");
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
--- 599,613 ----
  #if defined( PYSVN_HAS_CLIENT_DIFF_SUMMARIZE )
  template <> void pysvn_enum< svn_client_diff_summarize_kind_t >::init_type(void)
  {
!     behaviors().name( "client_diff_summarize_kind" );
!     behaviors().doc( "client_diff_summarize_kind enumeration" );
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_client_diff_summarize_kind_t >::init_type(void)
  {
!     behaviors().name( "client_diff_summarize_kind" );
!     behaviors().doc( "client_diff_summarize_kind value" );
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
***************
*** 589,603 ****
  #if defined( PYSVN_HAS_SVN__DEPTH_PARAMETER )
  template <> void pysvn_enum< svn_depth_t >::init_type(void)
  {
!     behaviors().name("depth");
!     behaviors().doc("depth enumeration");
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_depth_t >::init_type(void)
  {
!     behaviors().name("depth");
!     behaviors().doc("depth value");
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
--- 619,633 ----
  #if defined( PYSVN_HAS_SVN__DEPTH_PARAMETER )
  template <> void pysvn_enum< svn_depth_t >::init_type(void)
  {
!     behaviors().name( "depth" );
!     behaviors().doc( "depth enumeration" );
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_depth_t >::init_type(void)
  {
!     behaviors().name( "depth" );
!     behaviors().doc( "depth value" );
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
***************
*** 609,623 ****
  #if defined( PYSVN_HAS_SVN_WC_CONFLICT_CHOICE_T )
  template <> void pysvn_enum< svn_wc_conflict_choice_t >::init_type(void)
  {
!     behaviors().name("wc_conflict_choice");
!     behaviors().doc("wc_conflict_choice enumeration");
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_conflict_choice_t >::init_type(void)
  {
!     behaviors().name("wc_conflict_choice");
!     behaviors().doc("wc_conflict_choice value");
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
--- 639,653 ----
  #if defined( PYSVN_HAS_SVN_WC_CONFLICT_CHOICE_T )
  template <> void pysvn_enum< svn_wc_conflict_choice_t >::init_type(void)
  {
!     behaviors().name( "wc_conflict_choice" );
!     behaviors().doc( "wc_conflict_choice enumeration" );
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_conflict_choice_t >::init_type(void)
  {
!     behaviors().name( "wc_conflict_choice" );
!     behaviors().doc( "wc_conflict_choice value" );
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
***************
*** 628,642 ****
  
  template <> void pysvn_enum< svn_wc_conflict_action_t >::init_type(void)
  {
!     behaviors().name("wc_conflict_action");
!     behaviors().doc("wc_conflict_action enumeration");
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_conflict_action_t >::init_type(void)
  {
!     behaviors().name("wc_conflict_action");
!     behaviors().doc("wc_conflict_action value");
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
--- 658,672 ----
  
  template <> void pysvn_enum< svn_wc_conflict_action_t >::init_type(void)
  {
!     behaviors().name( "wc_conflict_action" );
!     behaviors().doc( "wc_conflict_action enumeration" );
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_conflict_action_t >::init_type(void)
  {
!     behaviors().name( "wc_conflict_action" );
!     behaviors().doc( "wc_conflict_action value" );
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
***************
*** 647,661 ****
  
  template <> void pysvn_enum< svn_wc_conflict_kind_t >::init_type(void)
  {
!     behaviors().name("wc_conflict_kind");
!     behaviors().doc("wc_conflict_kind enumeration");
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_conflict_kind_t >::init_type(void)
  {
!     behaviors().name("wc_conflict_kind");
!     behaviors().doc("wc_conflict_kind value");
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
--- 677,691 ----
  
  template <> void pysvn_enum< svn_wc_conflict_kind_t >::init_type(void)
  {
!     behaviors().name( "wc_conflict_kind" );
!     behaviors().doc( "wc_conflict_kind enumeration" );
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_conflict_kind_t >::init_type(void)
  {
!     behaviors().name( "wc_conflict_kind" );
!     behaviors().doc( "wc_conflict_kind value" );
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
***************
*** 665,679 ****
  
  template <> void pysvn_enum< svn_wc_conflict_reason_t >::init_type(void)
  {
!     behaviors().name("wc_conflict_reason");
!     behaviors().doc("wc_conflict_reason enumeration");
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_conflict_reason_t >::init_type(void)
  {
!     behaviors().name("wc_conflict_reason");
!     behaviors().doc("wc_conflict_reason value");
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
--- 695,709 ----
  
  template <> void pysvn_enum< svn_wc_conflict_reason_t >::init_type(void)
  {
!     behaviors().name( "wc_conflict_reason" );
!     behaviors().doc( "wc_conflict_reason enumeration" );
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_conflict_reason_t >::init_type(void)
  {
!     behaviors().name( "wc_conflict_reason" );
!     behaviors().doc( "wc_conflict_reason value" );
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
***************
*** 685,699 ****
  #if defined( PYSVN_HAS_SVN_WC_OPERATION_T )
  template <> void pysvn_enum< svn_wc_operation_t >::init_type(void)
  {
!     behaviors().name("wc_operation");
!     behaviors().doc("wc_operation enumeration");
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_operation_t >::init_type(void)
  {
!     behaviors().name("wc_operation");
!     behaviors().doc("wc_operation value");
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
--- 715,729 ----
  #if defined( PYSVN_HAS_SVN_WC_OPERATION_T )
  template <> void pysvn_enum< svn_wc_operation_t >::init_type(void)
  {
!     behaviors().name( "wc_operation" );
!     behaviors().doc( "wc_operation enumeration" );
      behaviors().supportGetattr();
  }
  
  template <> void pysvn_enum_value< svn_wc_operation_t >::init_type(void)
  {
!     behaviors().name( "wc_operation" );
!     behaviors().doc( "wc_operation value" );
      behaviors().supportCompare();
      behaviors().supportRichCompare();
      behaviors().supportRepr();
diff -crB old/pysvn_svnenv.hpp new/pysvn_svnenv.hpp
*** old/pysvn_svnenv.hpp	2013-07-01 11:12:18.000000000 +0200
--- new/pysvn_svnenv.hpp	2015-09-04 20:18:37.928751133 +0200
***************
*** 214,219 ****
--- 214,228 ----
  #define PYSVN_HAS_CLIENT_CREATE_CONTEXT2 1
  #endif
  
+ #if (SVN_VER_MAJOR == 1 && SVN_VER_MINOR >= 9) || SVN_VER_MAJOR > 1
+ #define PYSVN_HAS_SVN_1_9
+ #define PYSVN_HAS_CLIENT_VACUUM QQQ
+ #define PYSVN_HAS_CLIENT_REVERT3 QQQ
+ #define PYSVN_HAS_CLIENT_COPY7 QQQ
+ #define PYSVN_HAS_CLIENT_CAT3 QQQ
+ #define PYSVN_HAS_CLIENT_INFO4 QQQ
+ #endif
+ 
  #if defined( PYSVN_HAS_CLIENT_STATUS3 )
  typedef svn_wc_status2_t pysvn_wc_status_t;
  
diff -crB old/setup_configure.py new/setup_configure.py
*** old/setup_configure.py	2015-09-04 20:21:42.512848464 +0200
--- new/setup_configure.py	2015-09-04 20:17:27.954092949 +0200
***************
*** 70,75 ****
--- 70,76 ----
          '--svn-bin-dir':        (1, '<dir>'),
          '--svn-root-dir':       (1, '<dir>'),
          '--verbose':            (0, None),
+         '--disable-deprecated-functions-warnings': (0, None),
          }
  
      def __init__( self, argv ):
***************
*** 1099,1107 ****
                          '/usr/pkg/include/subversion-1',        # netbsd
                          ]
          self._find_paths_svn_bin = [
!                         '/usr/bin',                                # typical Linux
!                         '/usr/local/bin',                        # typical *BSD
!                         '/usr/pkg/bin',                                # netbsd
                          ]
          self._find_paths_svn_lib = [
                          '/usr/lib64',                           # typical 64bit Linux
--- 1100,1108 ----
                          '/usr/pkg/include/subversion-1',        # netbsd
                          ]
          self._find_paths_svn_bin = [
!                         '/usr/bin',                             # typical Linux
!                         '/usr/local/bin',                       # typical *BSD
!                         '/usr/pkg/bin',                         # netbsd
                          ]
          self._find_paths_svn_lib = [
                          '/usr/lib64',                           # typical 64bit Linux
***************
*** 1169,1174 ****
--- 1170,1179 ----
              print( 'Info: Debug enabled' )
              py_cflags_list.append( '-g' )
  
+         if self.options.hasOption( '--disable-deprecated-functions-warnings' ):
+             print( 'Info: Disable deprecated functions warnings' )
+             py_cflags_list.append( '-Wno-deprecated-declarations' )
+ 
          self._addVar( 'CCCFLAGS',   ' '.join( py_cflags_list ) )
          self._addVar( 'LDLIBS',     ' '.join( self._getLdLibs() ) )
          self._addVar( 'LDSHARED',   '%(CCC)s -shared -g' )