If --set-depth isn't passed to an update, don't change the depth.
commit792c24d440b316425980199458a119dc5afca0d6
authorglasser <glasser@612f8ebc-c883-4be0-9ee0-a4e9ef946e3a>
Mon, 14 Jan 2008 22:36:26 +0000 (14 22:36 +0000)
committerglasser <glasser@612f8ebc-c883-4be0-9ee0-a4e9ef946e3a>
Mon, 14 Jan 2008 22:36:26 +0000 (14 22:36 +0000)
tree20e8e3a69c023491ab422f3ee5961a32aa86c198
parent83c818ef36a2016275b0c7320e9c6663c1d853f9
If --set-depth isn't passed to an update, don't change the depth.

We do this by reverting r28904, which removed an unused baton, and
instead we use the baton.

* subversion/libsvn_wc/update_editor.c
  (struct edit_baton): Add depth_is_sticky member.
  (complete_directory): Only do depth upgrade if depth is sticky.
  (make_editor): Populate member.

* subversion/tests/cmdline/depth_tests.py
  (test_list): depth_empty_update_bypass_single_file now passes.

git-svn-id: http://svn.collab.net/repos/svn/trunk@28907 612f8ebc-c883-4be0-9ee0-a4e9ef946e3a
subversion/libsvn_wc/update_editor.c
subversion/tests/cmdline/depth_tests.py