Should commit take --depth?
From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-07-01 09:43:14 CEST
Should commit accept all possible values of --depth?
Right now, commit takes -N. The purpose of that is to allow someone
(Most other commands treat -N like --depth=files, but commit is
Let's consider what full --depth behavior might look like for commits:
--depth=empty: Like today's -N.
--depth=files: Like depth=empty, plus also commits any modified
--depth=immediates: Like depth=files, plus commits propchanges on
--depth=infinity: Full recursion, the default.
Now the $64,000 question: are depth=files and depth=immediates really
If we decide not to support them, this is what I'm planning to do:
* Make --depth=empty a (preferred) synonym for -N
* Make --depth=files and --depth=immediates print errors explaining
* Accept --depth=infinity (just behave like the default).
* Fix the doc string for svn_client_commit4(), and maybe change its
Thoughts?
-Karl
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.