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

[PATCH] depth test case: unversioned & modified items left untouched when folded

From: Rui, Guo <timmyguo_at_mail.ustc.edu.cn>
Date: Mon, 21 Apr 2008 23:10:30 +0800

Hi,

This will be my last test case for deselection interface of sparse-directory.
I'll dig into update editor code, in which the functionality would most likely
be implemented, in the next step.

[[[
Add test case to verify that folding a subtree will not destroy to content of
unversioned & modified items.

* subversion/tests/cmdline/depth_tests.py
  (fold_tree_with_unversioned_modified_items): New tests.
  (test_lists): Run it XFail
]]]

If we consider the unversioned & modified items as obstructions, should we
make the folding behavior under control of the --force option? That is to say,
only un-version the modified items when forced, just fail the folding by
default. If this is the preferred behavior, a --force option should be passed
to run_and_verify_update() function.

And there is one more problem: should we output 'D ' on items that is
unversioned rather than deleted? When I first asked about folding a modified
item some days ago, Karl figured out that it should act like 'svn delete' --
leave the modified files in place. However, when I tried to see what does 'svn
delete' output in this situation, I found that it either refused to continue
or was forced to delete it. Any suggestion?

Thanks
Rui, Guo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

Received on 2008-04-22 08:23:20 CEST

This is an archived mail posted to the Subversion Dev mailing list.