proposed editor interface change
From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-04-19 18:30:44 CEST
Problem to Solve
We'd like the command-line client to respect multiple "targets".
svn commit dir1 dir2 dir3
should produce an *atomic* commit, and the command
svn update dir1 dir2 dir3
should update the target dirs in *that* specific order.
Original Solution
An editor allows only one call to replace_root(), thus our
(1) The commit-editor-driver (svn_wc_crawl_local_mods) will call
(2) The update-editor-driver (svn_repos_dir_delta) will follow very
** But wait: it needs to report the targets in a *specific* order,
Options
A. Find the tricky algorithm and implement.
B. Punt till post-1.0; just have the command-line client open a new
C. Change the editor interface.
Ben, Mike, and Karl are pushing for option C. We'd like to make the
get_editor()
replace_root(dir1)
replace_root(dir2)
replace_root(dir3)
close_edit()
We all know that this has been discussed before, but we can't remember
* it would make life *very* easy for the commit-driver and
* this is a relatively small change. All of our existing editors
Comments? Let's hear them!
|
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.