~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to subversion/tests/cmdline/relocate_tests.py

  • Committer: Package Import Robot
  • Author(s): James McCoy, Peter Samuelson, James McCoy
  • Date: 2014-01-12 19:48:33 UTC
  • mfrom: (0.2.10)
  • Revision ID: package-import@ubuntu.com-20140112194833-w3axfwksn296jn5x
Tags: 1.8.5-1
[ Peter Samuelson ]
* New upstream release.  (Closes: #725787) Rediff patches:
  - Remove apr-abi1 (applied upstream), rename apr-abi2 to apr-abi
  - Remove loosen-sqlite-version-check (shouldn't be needed)
  - Remove java-osgi-metadata (applied upstream)
  - svnmucc prompts for a changelog if none is provided. (Closes: #507430)
  - Remove fix-bdb-version-detection, upstream uses "apu-config --dbm-libs"
  - Remove ruby-test-wc (applied upstream)
  - Fix “svn diff -r N file” when file has svn:mime-type set.
    (Closes: #734163)
  - Support specifying an encoding for mod_dav_svn's environment in which
    hooks are run.  (Closes: #601544)
  - Fix ordering of “svnadmin dump” paths with certain APR versions.
    (Closes: #687291)
  - Provide a better error message when authentication fails with an
    svn+ssh:// URL.  (Closes: #273874)
  - Updated Polish translations.  (Closes: #690815)

[ James McCoy ]
* Remove all traces of libneon, replaced by libserf.
* patches/sqlite_3.8.x_workaround: Upstream fix for wc-queries-test test
  failurse.
* Run configure with --with-apache-libexecdir, which allows removing part of
  patches/rpath.
* Re-enable auth-test as upstream has fixed the problem of picking up
  libraries from the environment rather than the build tree.
  (Closes: #654172)
* Point LD_LIBRARY_PATH at the built auth libraries when running the svn
  command during the build.  (Closes: #678224)
* Add a NEWS entry describing how to configure mod_dav_svn to understand
  UTF-8.  (Closes: #566148)
* Remove ancient transitional package, libsvn-ruby.
* Enable compatibility with Sqlite3 versions back to Wheezy.
* Enable hardening flags.  (Closes: #734918)
* patches/build-fixes: Enable verbose build logs.
* Build against the default ruby version.  (Closes: #722393)

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
    'A/D2/H/omega' : Item(status='  ', wc_rev='-', copied='+'),
89
89
    'A/D2/H/psi'   : Item(status='  ', wc_rev='-', copied='+'),
90
90
    })
91
 
  if svntest.main.wc_is_singledb(wc_dir):
92
 
    expected_status.tweak('A/B/F', status='! ', wc_rev='1')
93
 
  else:
94
 
    expected_status.tweak('A/B/F', status='! ', wc_rev='?')
 
91
  expected_status.tweak('A/B/F', status='! ', wc_rev='1')
95
92
  svntest.actions.run_and_verify_status(wc_dir, expected_status)
96
93
 
97
94
  # Relocate
105
102
 
106
103
  # Deleted and missing entries should be preserved, so update should
107
104
  # show only A/B/F being reinstated
108
 
  if svntest.main.wc_is_singledb(wc_dir):
109
 
    expected_output = svntest.wc.State(wc_dir, {
 
105
  expected_output = svntest.wc.State(wc_dir, {
110
106
        'A/B/F' : Item(verb='Restored'),
111
 
        })
112
 
  else:
113
 
    expected_output = svntest.wc.State(wc_dir, {
114
 
        'A/B/F' : Item(status='A '),
115
 
        })
 
107
  })
 
108
 
116
109
  expected_disk = svntest.main.greek_state.copy()
117
110
  expected_disk.remove('A/mu')
118
111
  expected_disk.add({
123
116
    'A/D2/H/omega' : Item("This is the file 'omega'.\n"),
124
117
    'A/D2/H/psi'   : Item("This is the file 'psi'.\n"),
125
118
    })
126
 
  if not svntest.main.wc_is_singledb(wc_dir):
127
 
    expected_disk.add({
128
 
        'A/D2/G'       : Item(),
129
 
        })
 
119
 
130
120
  expected_status.add({
131
121
    'A/B/F'       : Item(status='  ', wc_rev='2'),
132
122
    })