C. Michael Pilato [Fri, 3 Oct 2003 16:24:01 +0000 (3 16:24 +0000)]
Finish (at least, on this branch) issue #1497 - svn_fs_history_prev()
can return duplicates.
* subversion/libsvn_fs/tree.c
(txn_body_history_prev): If our last-reported history point also
just happens to be a copy destination, skip it and move on the next
history point.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-1499-dev@847355 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Thu, 2 Oct 2003 16:26:56 +0000 (2 16:26 +0000)]
This is why I wake up every day.
* subversion/libsvn_fs/tree.c
(sort_keys, find_youngest_copy): Buh-bye, painful copy hunt code.
So long, revision crawl. Farewell, 1700-lock-per-transaction-eating
monstrosity.
(txn_body_history_prev): Remember where we used to fall back to the
painful copy hunt? Well, that's no longer around, so just die in
those cases. Oh, and fix a silly buglet (looking at the wrong
dag_node_t structure).
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-1499-dev@847350 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Thu, 2 Oct 2003 15:34:04 +0000 (2 15:34 +0000)]
* subversion/libsvn_fs/tree.c
(find_youngest_copy): Remove unnecessary (and confusing) 'cur_path'.
(examine_copy_inheritance): Change the promise a bit, and, of
course, fulfill the new promise.
(txn_body_history_prev): Try a new plan. Use the copy ID we get
back from examine_copy_inheritance() as our best guess for the
most relevant copy. If this fails, fall back to the old copy
hunt. Of course, the goal is to see if we can eliminate the copy
hunt altogether.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-1499-dev@847349 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Thu, 2 Oct 2003 13:34:02 +0000 (2 13:34 +0000)]
* subversion/libsvn_fs/tree.c
(txn_body_history_prev): Add a little extra explanation to a comment.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-1499-dev@847345 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Thu, 2 Oct 2003 03:54:15 +0000 (2 03:54 +0000)]
Make some significant improvements in the FS history code, avoiding the
really expensive part of it in some places where we know it's safe to
do so.
* subversion/libsvn_fs/tree.c
(examine_copy_inheritance): New.
(txn_body_history_prev): Use the new examine_copy_inheritance() and
some other knowledge to avoid the oh-so-expensive copy hunts in a
couple of instances where it is safe to do so.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-1499-dev@847343 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Tue, 30 Sep 2003 19:41:31 +0000 (30 19:41 +0000)]
Implement (again, darnit) DAG node caching for the filesystem.
* subversion/libsvn_fs/tree.c
(SVN_FS_NODE_CACHE_MAX_KEYS, struct dag_node_cache_t): New.
(svn_fs_root_t): Add 'node_cache', 'node_cache_keys', and 'node_cache_idx'.
(make_root): Init new svn_fs_root_t members.
(dag_node_cache_get, dag_node_cache_set): New.
(open_path, get_dag): Use the new node cache.
(make_path_mutable): Cosmetic changes only.
* subversion/libsvn_fs/dag.h
* subversion/libsvn_fs/dag.c
(svn_fs__dag_dup): Lose the 'trail', add a 'pool'.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-1499-dev@847332 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Tue, 30 Sep 2003 18:17:44 +0000 (30 18:17 +0000)]
* subversion/libsvn_fs/tree.c
(txn_body_history_prev): Oh geez. Do *not* nest Berkeley
transactions, Mike. It simply doesn't work out the way you'd want.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-1499-dev@847331 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Mon, 29 Sep 2003 17:09:31 +0000 (29 17:09 +0000)]
Redo the optional-transaction change, but this time use two different
functions instead of exposing a boolean "use a transaction" flag. I'm
hoping that this is what Greg Stein was talking about when he made the
suggestion that led me this way.
* issue-1499-dev/subversion/libsvn_fs/trail.h
(svn_fs__retry): New.
* issue-1499-dev/subversion/libsvn_fs/trail.c
(abort_trail, commit_trail): Allow NULL Berkeley DB transaction.
(begin_trail): Add 'use_txn' parameter.
(do_retry): New function (with all the guts from svn_fs__retry_txn()).
(svn_fs__retry_txn): Call new do_retry().
(svn_fs__retry): New.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-1499-dev@847315 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Fri, 26 Sep 2003 22:04:24 +0000 (26 22:04 +0000)]
Revert revision 7096, whose log message began thusly:
Here we go. A first step towards solving issue #1499 (the oh-my-gosh-
our-bdb-transaction-usage-is-horrible bug).
* subversion/libsvn_fs/trail.h
(svn_fs__retry): Was svn_fs__retry_txn. Add 'use_txn' parameter.
...
I'm a-gonna go about this a different way now.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-1499-dev@847282 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Fri, 26 Sep 2003 19:50:23 +0000 (26 19:50 +0000)]
* tools/dev/svn-dev.el
(svn-resolved): New.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-1499-dev@847279 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Fri, 26 Sep 2003 17:21:43 +0000 (26 17:21 +0000)]
Create a new branch for experimental solutions to issue #1499.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-1499-dev@847276 13f79535-47bb-0310-9956-ffa450edef68
Ben Collins-Sussman [Fri, 26 Sep 2003 13:20:23 +0000 (26 13:20 +0000)]
* ch05.xml, ch08.xml: change 'archive' to 'list-unused-dblogs'.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847275 13f79535-47bb-0310-9956-ffa450edef68
Philip Martin [Fri, 26 Sep 2003 00:15:25 +0000 (26 00:15 +0000)]
Remove some gcc warnings, most of which arise when compiling with -DNDEBUG.
* subversion/clients/cmdline/cl.h (enum svn_cl__longopt_t): Remove
trailing comma.
* subversion/libsvn_subr/io.c (svn_io_run_diff3): Variable is only
needed if NDEBUG is not defined.
* subversion/libsvn_subr/path.c (is_canonical): Function is only needed
if NDEBUG is not defined.
* subversion/tests/libsvn_delta/random-test.c (rewind_file): Variable
is only needed if NDEBUG is not defined.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847274 13f79535-47bb-0310-9956-ffa450edef68
Branko Cibej [Thu, 25 Sep 2003 23:39:43 +0000 (25 23:39 +0000)]
* subversion/include/svn_cmdline.h, subversion/libsvn_subr/utf_impl.h: Set
svn:eol-style to 'native'.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847273 13f79535-47bb-0310-9956-ffa450edef68
Julian Foad [Thu, 25 Sep 2003 23:32:52 +0000 (25 23:32 +0000)]
Fix simple typos.
* HACKING
* notes/anchors_and_targets.txt
Fix typos.
Update the name of the "Documents & files" area of the web site.
* subversion/clients/cmdline/ls-cmd.c
* subversion/clients/cmdline/status-cmd.c
* subversion/clients/cmdline/status.c
* subversion/include/svn_client.h
* subversion/include/svn_error.h
* subversion/include/svn_repos.h
* subversion/include/svn_wc.h
* subversion/libsvn_client/client.h
* subversion/libsvn_client/diff.c
* subversion/libsvn_subr/subst.c
* subversion/libsvn_wc/status.c
* subversion/libsvn_wc/wc.h
Fix typos in comments.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847272 13f79535-47bb-0310-9956-ffa450edef68
Ben Collins-Sussman [Thu, 25 Sep 2003 22:38:49 +0000 (25 22:38 +0000)]
Mostly fix #1075: don't let interrupted updates leave an inconsistent wc.
Specifically, the update-editor's close_directory() now removes dead
entries and marks the directory 'complete' in a single atomic write.
In the Bad Old System, the dead entries were only removed in a
separate 'final' tree walk, after the directories were already marked
'complete'.
* libsvn_wc/update_editor.c (complete_directory): new helper function
which atomically removes all 'dead' entries and marks directory
'complete'.
(maybe_bump_dir_info): call new helper.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847271 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Thu, 25 Sep 2003 19:24:36 +0000 (25 19:24 +0000)]
M-x broom-mode.
* subversion/include/svn_fs.h
(svn_fs_deltify, svn_fs_undeltify): Remove.
* subversion/libsvn_fs/deltify.c
Remove.
* subversion/tests/libsvn_fs/fs-test.c
(undeltify_deltify): Buh-bye.
(test_funcs): Remove reference to extinct undeltify_deltify() test.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847270 13f79535-47bb-0310-9956-ffa450edef68
Ben Collins-Sussman [Thu, 25 Sep 2003 18:34:19 +0000 (25 18:34 +0000)]
* project_issues.html: add issue-jump text box to front-page of issuetracker.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847269 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Thu, 25 Sep 2003 17:34:34 +0000 (25 17:34 +0000)]
Simplify, simplify... (i.e., reduce this file's linecount by 10%)
* subversion/libsvn_fs/revs-txns.c
(txn_body_revision_proplist): Don't make an empty hash here...
(svn_fs_revision_proplist): ...Make it here.
(struct revision_prop_args, txn_body_revision_prop): Remove.
(svn_fs_revision_prop): Use the internals of svn_fs_revision_proplist() now.
(txn_body_txn_proplist): Don't make an empty hash here...
(svn_fs_txn_proplist): ...Make it here.
(struct txn_prop_args, txn_body_txn_prop): Remove.
(svn_fs_txn_prop): Use the internals of svn_fs_txn_proplist() now.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847268 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Thu, 25 Sep 2003 07:24:48 +0000 (25 07:24 +0000)]
* subversion/bindings/java/javahl/README
General formatting and verbiage cleanup.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847266 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Wed, 24 Sep 2003 23:13:33 +0000 (24 23:13 +0000)]
* subversion/mod_dav_svn/merge.c
(dav_svn__merge_response): Use svn_repos_replay() instead of
svn_repos_dir_delta().
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847265 13f79535-47bb-0310-9956-ffa450edef68
ringstrom [Wed, 24 Sep 2003 20:09:57 +0000 (24 20:09 +0000)]
* subversion/include/svn_auth.h
Document that the meaning of the SVN_AUTH_SSL_XXX bits must not
be changed without careful consideration.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847264 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Wed, 24 Sep 2003 19:57:26 +0000 (24 19:57 +0000)]
* subversion/bindings/java/org/tigris/subversion/client/Client.java
(diff): More accurate OuputStream parameter names.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847263 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Wed, 24 Sep 2003 19:56:30 +0000 (24 19:56 +0000)]
Fix the SWIG Java build:
* build/generator/gen_base.py
(GeneratorBase.__init__): Take the configuration for swig-dirs.paths
into consideration when generating the list for the BUILD_DIRS
Makefile variable in build-outputs.mk.
(_predef_sections): Added the swig-dirs section to avoid treating
the config section as part of the dependency graph.
* build/generator/gen_make.py
(Generator.write): When writing out "xxx_DEPS = " lines, include
targets specified by add-deps properties at the beginning -- rather
than at the end -- of the list.
When building the Java SWIG bindings, we're already in the
directory of the .i files (necessary to put generated .java files
into the right place), so specifying an absolute path breaks the
build. Don't do that.
* build.conf
(swig-dirs.paths): Previously SWIG_DIRS from Makefile.in, the list
of directories which the SWIG build requires be created.
(swig_client, swig_delta, swig_fs, swig_ra, swig_repos, swig_wc,
swig_core, swig_runtime): Added "add-deps = mkdir-init".
* Makefile.in
(SWIG_DIRS, mkdir-init): Removed.reference to SWIG_DIRS.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847262 13f79535-47bb-0310-9956-ffa450edef68
ringstrom [Wed, 24 Sep 2003 19:17:30 +0000 (24 19:17 +0000)]
* COMMITTERS: Add myself to the blanket commit access list.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847261 13f79535-47bb-0310-9956-ffa450edef68
pll [Wed, 24 Sep 2003 18:34:12 +0000 (24 18:34 +0000)]
* www/latest_tarball.html
Updated re-direction link
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847260 13f79535-47bb-0310-9956-ffa450edef68
pll [Wed, 24 Sep 2003 18:31:57 +0000 (24 18:31 +0000)]
* notes/releases.txt
* CHANGES
Merged in changes from release tags/0.30.0
* www/project_status.html
updated release date
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847259 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Wed, 24 Sep 2003 17:08:10 +0000 (24 17:08 +0000)]
Revert revisions 7163, 7166, 7176, and 7181 (the node caching code).
Will re-add when I get all the stupid little bugs worked out of this
code. { mumble, grumble }
* subversion/libsvn_fs/tree.c
* subversion/libsvn_fs/dag.h
* subversion/libsvn_fs/dag.c
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847257 13f79535-47bb-0310-9956-ffa450edef68
Justin Erenkrantz [Wed, 24 Sep 2003 17:01:27 +0000 (24 17:01 +0000)]
Add a FAQ entry on NFS. It's now confusing enough and there are enough caveats
that it's time for a dedicated FAQ entry.
* www/project_faq.html: Add #nfs question. (Addresses server and working copy)
* README: Instead of pointing users at BDB directly, point them at our FAQ.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847256 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Wed, 24 Sep 2003 16:36:38 +0000 (24 16:36 +0000)]
* subversion/libsvn_fs/tree.c
(dag_node_cache_get): Assert legitimate input paths.
(dag_node_cache_set): Assert legitimate input paths. Also, don't
cache something if it's already in the cache.
(open_path): Don't re-cache a node fetched from the cache.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847255 13f79535-47bb-0310-9956-ffa450edef68
Brian Fitzpatrick [Wed, 24 Sep 2003 16:14:06 +0000 (24 16:14 +0000)]
Updated info about fink package on web page to reflect that it now
contains also the svn server.
Patch by: Christian Schaffner <chris01@users.sourceforge.net>
* www/project_packages.html
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847253 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Wed, 24 Sep 2003 15:12:39 +0000 (24 15:12 +0000)]
Some caching fixes (based largely on Greg Stein's review). Also,
teach some more places to use the cache.
* subversion/libsvn_fs/tree.c
Fix or add some comments. Also...
(dag_node_cache_get): New (from code once in get_dag).
(dag_node_cache_set): Was add_to_dag_node_cache(). Move this
earlier in the file. Also, put the cache-ability check in here,
now, and re-use pools.
(get_dag): Update call to dag_node_cache_set(), and move the cache
fetch stuff into dag_node_cache_get(). Also, don't bother
checking the root types here any more.
(open_path): Teach this function about the node cache.
(make_root): Remove unnecessary memset().
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847250 13f79535-47bb-0310-9956-ffa450edef68
Ben Collins-Sussman [Wed, 24 Sep 2003 14:50:23 +0000 (24 14:50 +0000)]
Improved SSL cert caching, from Tobias Ringstrom.
Update the SSL server certificate handling to only permanently accept
a certain certificate for a particular host+port, not for any SSL
connection. It also allows the user to permanently accept/ignore all
SSL errors for a connection.
* subversion/include/svn_auth.h
(svn_auth_cred_server_ssl_t): Added accepted_failures.
* subversion/libsvn_client/auth.c
(ssl_server_file_provider_baton_t): Removed cred_kind.
(server_ssl_file_first_credentials): Verify if current cert is
trusted for the current realmstring, and the current set of
failures.
(server_ssl_file_save_credentials): Store the cert and the
accepted set of failures in the auth hash.
* subversion/clients/cmdline/prompt.c
(svn_cl__auth_ssl_server_prompt): Set the accepted_failures
parameter in the credentials.
* subversion/libsvn_ra_dav/session.c
(server_ssl_callback): Use the scheme, hostname and port number
as realmstring.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847248 13f79535-47bb-0310-9956-ffa450edef68
dws [Wed, 24 Sep 2003 05:02:35 +0000 (24 05:02 +0000)]
* Merged rev 7172 from branches/release-0.30.0 to trunk.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847247 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Wed, 24 Sep 2003 03:32:19 +0000 (24 03:32 +0000)]
* subversion/bindings/java/org/tigris/subversion/client/Client.java
(diff): New API supporting the equivalent of `svn diff`.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847245 13f79535-47bb-0310-9956-ffa450edef68
Philip Martin [Wed, 24 Sep 2003 01:40:39 +0000 (24 01:40 +0000)]
Part of issue 1490. There is no need to write an entries file when
nothing has changed. For a "no-op" update on a Subversion trunk working
copy, I see a 20% reduction in system calls and a 30% reduction in CPU
used (measured on a Linux box).
* subversion/libsvn_wc/entries.h (svn_wc__tweak_entry): Add write_required
parameter.
* subversion/libsvn_wc/entries.c (svn_wc__tweak_entry): Add write_required
parameter and set it if the tweaks need to be written.
* subversion/libsvn_wc/adm_ops.c
(recursively_tweak_entries, svn_wc__do_update_cleanup): Only write
entries when svn_wc__tweak_entry indicates that it is necessary.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847244 13f79535-47bb-0310-9956-ffa450edef68
Branko Cibej [Wed, 24 Sep 2003 00:29:40 +0000 (24 00:29 +0000)]
Finishing issue #872 (at least until 1.0).
* subversion/include/svn_cmdline.h: New. Declare functions used by
command-line programs.
* subversion/include/svn_pools.h (svn_cmdline_init): Moved to svn_cmdline.h.
* subversion/include/svn_subst.h (svn_subst_detranslate_string): Add
parameter 'for_output'.
* subversion/libsvn_subr/utf_impl.h: New.
* subversion/libsvn_subr/utf.c: Include utf_impl.h.
(svn_utf__cstring_from_utf8_fuzzy): New.
* subversion/libsvn_subr/subst.c (svn_subst_detranslate_string): New parameter
'for_output' determines if we want the result in output or native encoding.
Translate the string while it's still in UTF-8, and convert it afterwards.
* subversion/libsvn_subr/cmdline.c (svn_cmdline_init): Don't try to set the
console output encoding on Windows platforms.
(svn_cmdline_cstring_from_utf8, svn_cmdline_cstring_from_utf8_fuzzy,
svn_cmdline_cstring_to_utf8): New. Convert to/from the output/input
encoding.
* subversion/libsvn_subr/error.c: Convert error messages to output encoding,
and use fuzzy conversion if precise conversion fails.
* subversion/libsvn_subr/opt.c,
subversion/clients/cmdline/notify.c,
subversion/clients/cmdline/info-cmd.c,
subversion/clients/cmdline/log-cmd.c,
subversion/clients/cmdline/ls-cmd.c,
subversion/clients/cmdline/prompt.c,
subversion/clients/cmdline/props.c,
subversion/clients/cmdline/propdel-cmd.c,
subversion/clients/cmdline/propedit-cmd.c,
subversion/clients/cmdline/propget-cmd.c,
subversion/clients/cmdline/proplist-cmd.c,
subversion/clients/cmdline/propset-cmd.c,
subversion/clients/cmdline/status.c,
subversion/clients/cmdline/main.c,
subversion/svnadmin/main.c,
subversion/svndumpfilter/main.c,
subversion/svnlook/main.c,
subversion/svnserve/main.c,
subversion/svnversion/main.c,
subversion/tests/libsvn_subr/target-test.c: Use svn_cmdline functions to
convert strings from/to the console encoding.
* subversion/clients/cmdline/status.c (print_status): Convert the author
name to the output encoding.
(svn_cl__print_status): Convert the path to local style while it's
still in UTF-8.
* subversion/svnadmin/main.c (list_dblogs). Likewise.
* subversion/svnlook/main.c (do_date): Don't convert the date prop to
local style in get_property, we do that here later on.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847242 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Tue, 23 Sep 2003 22:23:53 +0000 (23 22:23 +0000)]
Optimize away some more database hits. With kfogel (and with a round
of applause for Sander's trail debugging code and output-mangler).
* subversion/libsvn_fs/tree.c
(svn_fs_node_id): If we have the node id in our hand, just return it.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847241 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Tue, 23 Sep 2003 22:17:56 +0000 (23 22:17 +0000)]
Caching done (a little more closely to) right (I hope). Reviews, please?
* subversion/libsvn_fs/tree.c
(SVN_FS_NODE_CACHE_MAX_KEYS): Was SVN_FS_NODE_ID_CACHE_MAX_KEYS.
(struct dag_node_cache_t): New.
(struct svn_fs_root_t): Rename 'node_id_cache' to 'node_cache.
Rename 'node_id_cache_keys' to 'node_cache_keys'. Add 'node_cache_idx'.
(make_root): Clear the cache keys array, and init the cache key index.
(add_to_dag_node_cache): New (cored from get_dag(), with mods).
(get_dag): Move cache addition stuff into add_to_dag_node_cache().
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847240 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Tue, 23 Sep 2003 22:16:39 +0000 (23 22:16 +0000)]
(svn_repos_find_root_path): Update docstring.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847239 13f79535-47bb-0310-9956-ffa450edef68
Ben Collins-Sussman [Tue, 23 Sep 2003 20:41:05 +0000 (23 20:41 +0000)]
Rename clients/cmdline/feedback.c -> notify.c, to decrease confusion.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847238 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Tue, 23 Sep 2003 20:27:38 +0000 (23 20:27 +0000)]
Implement filesystem DAG node caching (currently only under revision
roots). Checkout tests performed by myself and Karl show that,
timewise, this can shave 20% off the user times, but more importantly,
reduces the number of operations per Berkeley transaction in a manner
proportional to the depth of the tree. A Greek tree, for example, was
reduced from 9.52 ops/txn to 4.45 ops/txn. Quite nice, eh?
Oh.
And this is related to issue #1499 - Berkeley DB usage enhancements.
* subversion/libsvn_fs/dag.h
* subversion/libsvn_fs/dag.c
(svn_fs__dag_dup): Lose the 'trail', add a 'pool'.
* subversion/libsvn_fs/tree.c
(svn_fs_root_t): Add 'node_id_cache' and 'node_id_cache_keys' members.
(make_root): Allocate the 'node_id_cache' hash.
(get_dag): Implement caching for DAG nodes under revision roots.
(root_node): Update call to svn_fs__dag_dup().
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847237 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Tue, 23 Sep 2003 20:04:43 +0000 (23 20:04 +0000)]
* subversion/libsvn_subr/io.c
(io_check_path): Treat APR's ENOTDIR status the same as ENOENT --
both are now non-fatal forms of the answer "that path doesn't exist."
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847236 13f79535-47bb-0310-9956-ffa450edef68
xsteve [Tue, 23 Sep 2003 19:57:39 +0000 (23 19:57 +0000)]
* Some patches from Richard Lewis
- New command svn-status-mv to implement svn mv (bound to `R' as in dired)
- Added svn-log-edit-mode-hook (run when we enter svn-log-edit-mode)
- New variable svn-status-default-log-arguments: a string of arguments
for svn-status-show-svn-log when no prefixes are used.
- Fixed a bug in svn-status-update-buffer (a bracket was in the wrong
place, meaning `C-u g' included the last file twice)
- In 0.29.0 in the output of `svn status -v', "Head revision" changed
to "status against revision" breaking `C-u g'. Also the order in
which files appear in the output of `svn status' is less predicatble
(expecially with a mixed revision working copy), so it is necessary
to sort the file-list before inserting it into the *svn-status*
buffer (otherwise files won't appear under their directories)
- Added more docstrings
- Added svn-status-examine-parent, svn-status-toggle-elide and
svn-status-mv to the menu.
- Make the localrev and lastchangedrev have width at least 4
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847235 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Tue, 23 Sep 2003 17:27:49 +0000 (23 17:27 +0000)]
Make svn_fs_copy() do nothing (but return success) if the result would
be a no-op. This greatly cheapens commits of WC-to-WC copies and
WC-to-repos copies where the working copy has mixed revisions, but
where those mixed revisions could still be represented by a single
revision.
* subversion/libsvn_fs/tree.c
(txn_body_copy): Avoid no-op copy operations.
* subversion/tests/libsvn_fs/fs-test.c
(struct get_txn_args, txn_body_get_txn): Helpers for redundant_copy().
(redundant_copy): New test.
(test_funcs): Add reference to redundant_copy().
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847232 13f79535-47bb-0310-9956-ffa450edef68
Karl Fogel [Tue, 23 Sep 2003 17:18:30 +0000 (23 17:18 +0000)]
* subversion/libsvn_fs/bdb/strings-table.h
(svn_fs__bdb_string_append): Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847231 13f79535-47bb-0310-9956-ffa450edef68
Ben Collins-Sussman [Tue, 23 Sep 2003 17:14:26 +0000 (23 17:14 +0000)]
Prevent potential spoof attack for server-cert caching, from Tobias Ringstrom.
* libsvn_ra_dav/session.c (server_ssl_callback): Manually verify that
the certificate hostname matches the name of the remote host if the
CA is unknown. This is a hack that prevents a spoofing attack found
by Joe Orton. A better solution will be implemented shortly.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847230 13f79535-47bb-0310-9956-ffa450edef68
shlomif [Tue, 23 Sep 2003 16:57:57 +0000 (23 16:57 +0000)]
Added the svn-push utility to propagate changesets from one (networked)
repository to another.
* build.conf
Added the svn-push target.
* contrib/client-side/svn-push/svn-push.c
Added the source for svn-push. Initial commit.
Note: svn-push at the moment will not be built by default, because it was
not added to configure.in. To build it, type "make buildonly".
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847229 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Tue, 23 Sep 2003 06:31:26 +0000 (23 06:31 +0000)]
Really roll back to r7151 with no pollution from my WC.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847228 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Tue, 23 Sep 2003 06:25:42 +0000 (23 06:25 +0000)]
Rolled back to r7151, build changes from r7152 not ready for prime time.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847227 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Tue, 23 Sep 2003 06:17:20 +0000 (23 06:17 +0000)]
Fix the SWIG Java build:
* build/generator/gen_base.py
(GeneratorBase.__init__): Take the configuration for swig-dirs.paths
into consideration when generating the list for the BUILD_DIRS
Makefile variable in build-outputs.mk.
(_predef_sections): Added the swig-dirs section to avoid treating
the config section as part of the dependency graph.
* build/generator/gen_make.py
(Generator.write): When building the Java SWIG bindings, we're
already in the directory of the .i files (necessary to put
generated .java files into the right place), so specifying an
absolute path breaks the build. Don't do that.
* build.conf
(swig-dirs.paths): Previously SWIG_DIRS from Makefile.in, the list
of directories which the SWIG build requires be created.
* Makefile.in
(SWIG_DIRS, mkdir-init): Removed.reference to SWIG_DIRS.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847226 13f79535-47bb-0310-9956-ffa450edef68
Sander Striker [Mon, 22 Sep 2003 23:23:06 +0000 (22 23:23 +0000)]
* tools/dev/trails.py
(parse_trails_log): Specifically handle invalid input. Warn when empty
trails are encountered. Empty trails usually suggest that a non-clean
build was performed with -DSVN_FS__TRAIL_DEBUG.
(output_trail): Handle empty trails.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847221 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Mon, 22 Sep 2003 23:10:29 +0000 (22 23:10 +0000)]
Fix a teeny tiny comment formatting oops.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847220 13f79535-47bb-0310-9956-ffa450edef68
Ben Collins-Sussman [Mon, 22 Sep 2003 21:57:40 +0000 (22 21:57 +0000)]
* CHANGES: fix typo / tweak words in 0.30 descriptions.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847219 13f79535-47bb-0310-9956-ffa450edef68
Philip Martin [Mon, 22 Sep 2003 21:24:33 +0000 (22 21:24 +0000)]
* subversion/libsvn_wc/lock.c (remove_lock): Only do path checks if
the file removal fails, this reduces the number of system calls
in normal operation.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847218 13f79535-47bb-0310-9956-ffa450edef68
kellin [Mon, 22 Sep 2003 21:00:26 +0000 (22 21:00 +0000)]
New copies based on latest update from mandrake-9.1
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847217 13f79535-47bb-0310-9956-ffa450edef68
kellin [Mon, 22 Sep 2003 20:59:53 +0000 (22 20:59 +0000)]
Prep for copy
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847216 13f79535-47bb-0310-9956-ffa450edef68
kellin [Mon, 22 Sep 2003 20:56:15 +0000 (22 20:56 +0000)]
Modified to prep for doc compile under Mandrake.
Added svnadmin.static conversion for safety from redhat-8+.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847215 13f79535-47bb-0310-9956-ffa450edef68
Karl Fogel [Mon, 22 Sep 2003 20:45:07 +0000 (22 20:45 +0000)]
Update for 0.30 status.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847214 13f79535-47bb-0310-9956-ffa450edef68
Ben Collins-Sussman [Mon, 22 Sep 2003 19:05:29 +0000 (22 19:05 +0000)]
Fix misspelled variable name, a followup to r7134.
Thanks to SteveKing for spotting, and Tobias for the patch.
* subversion/clients/cmdline/prompt.c
* subversion/include/svn_auth.h
* subversion/libsvn_client/auth.c
* subversion/libsvn_ra_dav/session.c
Correct typo: trust_permanantly in the svn_auth_cred_server_ssl_t
struct should be trust_permanently.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847213 13f79535-47bb-0310-9956-ffa450edef68
Karl Fogel [Mon, 22 Sep 2003 19:05:04 +0000 (22 19:05 +0000)]
Part of issue #1499: break skip deltas out into individual trails, so
we don't do too many deltifications in one BDB transaction. Thanks to
Mike Pilato and Sander Striker for describing the problem.
* subversion/libsvn_fs/tree.c
(struct txn_pred_count_args, txn_body_pred_count): New struct, func.
(struct txn_pred_id_args, txn_body_pred_id): New struct, func.
(struct txn_deltify_args, txn_body_txn_deltify): Rewrite to hold
target and base IDs now, instead of a root and path representing
the target only. Just call svn_fs__dag_deltify directly on the
target and base.
(txn_deltify): Removed.
(deltify_mutable): Do the predecessor skips that txn_deltify
formerly did, but using IDs instead of nodes, since it happens
across multiple trails now.
* subversion/tests/libsvn_fs/fs-test.c
(skip_deltas): New test.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847212 13f79535-47bb-0310-9956-ffa450edef68
shlomif [Mon, 22 Sep 2003 18:34:16 +0000 (22 18:34 +0000)]
Adding the "Better SCM" comparison link and the svn API documentation link.
* www/project_links.html:
Added the two links to the page:
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847211 13f79535-47bb-0310-9956-ffa450edef68
Ben Collins-Sussman [Mon, 22 Sep 2003 18:05:42 +0000 (22 18:05 +0000)]
Preppin' for 0.30 release.
* CHANGES: new 0.30 changes.
* svn_version.h (SVN_VER_MINOR): bump to 0.30.0
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847210 13f79535-47bb-0310-9956-ffa450edef68
Karl Fogel [Mon, 22 Sep 2003 17:20:21 +0000 (22 17:20 +0000)]
Some documentation for the new trail stats stuff:
* tools/dev/trails.py
(usage): New function. Refer to this from comment at top of file.
(__main__): Give better errors, and offer usage when appropriate.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847209 13f79535-47bb-0310-9956-ffa450edef68
Ben Collins-Sussman [Mon, 22 Sep 2003 16:51:57 +0000 (22 16:51 +0000)]
Finish issue #1330: New server-cert caching feature. See the
implementation proposal in /trunk/notes/server-cert-revamp.txt.
Patch by: Tobias Ringström <tobias@ringstrom.mine.nu>
* subversion/include/svn_config.h
Removed ssl-ignore-unknown-ca and ssl-ignore-host-mismatch.
Added ssl-override-cert-hostname.
* subversion/include/svn_client.h
Add comments.
* subversion/include/svn_auth.h
(svn_auth_cred_server_ssl_t): Replace failures_allow with
trust_permanantly.
(svn_auth_ssl_server_cert_info_t): New struct to hold the server
certificate info.
(svn_auth_ssl_server_prompt_func_t): Add the cert info struct to
the server certificate prompt function prototype.
* subversion/libsvn_subr/config_file.c
(ensure_auth_dirs): Create the SVN_AUTH_CRED_SERVER_SSL auth dir.
(svn_config_ensure): Remove ssl-ignore-unknown-ca and
ssl-ignore-host-mismatch config options from the
template servers file, and add ssl-override-cert-hostname.
* subversion/libsvn_client/auth.c
(ssl_server_file_provider_baton_t): New type
(server_ssl_file_first_credentials): Rewritten to look for the cert
in the auth system and check for server config options.
(server_ssl_file_save_credentials): New function used to store a
certificate in the auth system.
(svn_client_get_ssl_server_file_provider): Allocate a provider baton
and initialize the provider type in the baton.
(server_ssl_prompt_first_cred): Pass the certificate info struct to
the prompt function.
* subversion/clients/cmdline/cl.h
(svn_cl__auth_ssl_server_prompt): Add the certificate info struct to
the prompt prototype.
* subversion/clients/cmdline/prompt.c
(svn_cl__auth_ssl_server_prompt): Rewritten to present an
informative prompt to the user, and create the appropriate
credentials based on the user's response.
* subversion/libsvn_ra_dav/session.c
(server_ssl_callback): Export the certificate information and put it
in the auth_baton parameter hash. Use the base-64 encoded DER of the
certificate as the realm string. Save credentials permanently if
requested.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847208 13f79535-47bb-0310-9956-ffa450edef68
clkao [Mon, 22 Sep 2003 10:54:25 +0000 (22 10:54 +0000)]
Wrap the digest output of svn_fs_file_md5_checksum &
svn_io_file_checksum for perl bindings.
* svn_types.i: add char digest[] argout typemaps.
* perl/t/2fs.t: add md5 to regression test.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847207 13f79535-47bb-0310-9956-ffa450edef68
clkao [Mon, 22 Sep 2003 10:53:58 +0000 (22 10:53 +0000)]
* perl/Delta.pm: kill a warning when debugging is enabled in
SVN::Delta::Editor
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847206 13f79535-47bb-0310-9956-ffa450edef68
Mark Benedetto King [Mon, 22 Sep 2003 10:49:46 +0000 (22 10:49 +0000)]
Fix typo in doxygen comment.
* subversion/include/svn_fs.h
Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847205 13f79535-47bb-0310-9956-ffa450edef68
Sander Striker [Mon, 22 Sep 2003 09:04:36 +0000 (22 09:04 +0000)]
* subversion/libsvn_fs/trail.c
(print_trail_debug): Add extra information in the form of txn_body
function name, file and line of the call to svn_fs__retry.
(svn_fs__retry, svn_fs__retry_debug): Permanent functions to
make it easy to switch between debug and normal mode. One
of the two functions is a simple wrapper, dependend on whether
SVN_FS__TRAIL_DEBUG is defined.
* subversion/libsvn_fs/trail.h
(svn_fs__retry_debug): New function for debugging purposes. A
macro definition for svn_fs__retry will call this function when
SVN_FS__TRAIL_DEBUG is defined.
* tools/dev/trails.py
(_re_trail): New regular expression to parse the trail lines.
(parse_trails_log, output_summary): Adjust to handle new trail debug
information.
(list_frequencies): New helper. Turns list of items into a list
of (item, frequency) tuples.
(output_trail_length_frequencies): Adjust to handle new trail debug
information. Use new list_frequencies function.
(output_trail): New helper. Outputs a list of ops starting in
the passed in column on each line.
(output_trail_frequencies): Adjust to handle new trail debug information.
Use new list_frequencies function. Output txn_body function name
with each unique trail.
(output_txn_body_frequencies): New function. Output frequency of
calls per txn_body function.
(__main__): Add output_txn_body_frequencies.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847204 13f79535-47bb-0310-9956-ffa450edef68
kellin [Mon, 22 Sep 2003 03:39:52 +0000 (22 03:39 +0000)]
Updated docbook compilation subsection for RPM
Currently turned off. PDF generation requires fop.
Still need to figure out what RPMS provide fop
on Mandrake as it becomes difficult to handle otherwise
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847203 13f79535-47bb-0310-9956-ffa450edef68
kellin [Sun, 21 Sep 2003 22:51:38 +0000 (21 22:51 +0000)]
This directory will contain any deviations required by Mandrake 9.2
when it comes out.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847202 13f79535-47bb-0310-9956-ffa450edef68
kellin [Sun, 21 Sep 2003 22:51:11 +0000 (21 22:51 +0000)]
Copied from mandrake-9.1. All changes should be compatible.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847201 13f79535-47bb-0310-9956-ffa450edef68
kellin [Sun, 21 Sep 2003 22:50:08 +0000 (21 22:50 +0000)]
Copyig from 9.1 directory - should compile the same
on any stock Mandrake system.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847200 13f79535-47bb-0310-9956-ffa450edef68
kellin [Sun, 21 Sep 2003 22:42:58 +0000 (21 22:42 +0000)]
Desgined to allow 'make BLESSED=XXXX' call syntax
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847199 13f79535-47bb-0310-9956-ffa450edef68
kellin [Sun, 21 Sep 2003 22:38:25 +0000 (21 22:38 +0000)]
Adjusted Makefile to differ between parameters passed
and actuals used. (_RPM extension on some options)
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847198 13f79535-47bb-0310-9956-ffa450edef68
kellin [Sun, 21 Sep 2003 22:30:53 +0000 (21 22:30 +0000)]
Added ability to define SWIG names and versions.
Swig still defaults to at least 1.3.16, but this
may need to change as subversion evolves.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847197 13f79535-47bb-0310-9956-ffa450edef68
kellin [Sun, 21 Sep 2003 21:56:56 +0000 (21 21:56 +0000)]
Updated packager.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847196 13f79535-47bb-0310-9956-ffa450edef68
Philip Martin [Sun, 21 Sep 2003 21:35:18 +0000 (21 21:35 +0000)]
* tools/client-side/bash_completion (_svnadmin): Remove createtxn.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847194 13f79535-47bb-0310-9956-ffa450edef68
Garrett Rooney [Sun, 21 Sep 2003 20:07:11 +0000 (21 20:07 +0000)]
* subversion/libsvn_ra_svn/client.c
(ra_svn_open): don't dereference creds if it's NULL.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847193 13f79535-47bb-0310-9956-ffa450edef68
kellin [Sun, 21 Sep 2003 19:39:58 +0000 (21 19:39 +0000)]
Corrected for accidental exposure to non-mandrake
directories that might be referenced from ~/.rpmmacros
which are already defined in the Makefile.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847191 13f79535-47bb-0310-9956-ffa450edef68
kellin [Sun, 21 Sep 2003 18:42:56 +0000 (21 18:42 +0000)]
Added email address in README for any parties interested.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847187 13f79535-47bb-0310-9956-ffa450edef68
kellin [Sun, 21 Sep 2003 18:40:47 +0000 (21 18:40 +0000)]
This is a first attempt to allow Mandrake 9.1 RPMs
to build unattended on any compliant system.
This is still a work in progress, but should work
for the most part.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847186 13f79535-47bb-0310-9956-ffa450edef68
Julian Foad [Sat, 20 Sep 2003 21:19:31 +0000 (20 21:19 +0000)]
In usage examples in the book, don't show the debugging messages that are
only produced when "svn" is built in "maintainer mode".
* doc/book/book/ch03.xml
* doc/book/book/ch08.xml
Remove lines of "svn" output that contain maintainer-mode error messages.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847181 13f79535-47bb-0310-9956-ffa450edef68
Julian Foad [Sat, 20 Sep 2003 21:13:20 +0000 (20 21:13 +0000)]
Provide a fuller usage message for "svn switch". Adjust several usage
messages for consistency.
* subversion/clients/cmdline/main.c (svn_cl__cmd_table)
Edit usage messages.
* subversion/tests/clients/cmdline/getopt_tests_data/svn_help_log_switch_stdout
Edit the expected test output to match the new usage messages.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847180 13f79535-47bb-0310-9956-ffa450edef68
xsteve [Sat, 20 Sep 2003 19:06:13 +0000 (20 19:06 +0000)]
* Some patches from Tadashi Watanabe
* Started to use the customize interface
- The used faces can be customized now
* Added a suffix to the argument files to make psvn usable for multiuser systems
(svn.arg, svn-prop-edit.txt, svn-log-edit.txt)
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847179 13f79535-47bb-0310-9956-ffa450edef68
Julian Foad [Sat, 20 Sep 2003 10:05:50 +0000 (20 10:05 +0000)]
Finish r7102 (remove temporary code).
* subversion/libsvn_client/status.c
(svn_client_status) Remove use of the temporary "hash" field, which has
now gone. r7102 broke the build because of this. Sorry.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847178 13f79535-47bb-0310-9956-ffa450edef68
Julian Foad [Sat, 20 Sep 2003 09:41:36 +0000 (20 09:41 +0000)]
Make svn_client_status optimise for status against HEAD, so its callers
don't have to know about that.
* subversion/libsvn_client/status.c
(svn_client_status) If status against HEAD is requested, don't bother
resolving to a particular revision number. We save a round trip by
just not specifying the revision number in the status request.
* subversion/clients/cmdline/status-cmd.c
(svn_cl__status) Because of the above, we can now specify that we want
the status against HEAD, which makes more sense than saying we want
the status against "unspecified".
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847177 13f79535-47bb-0310-9956-ffa450edef68
Julian Foad [Sat, 20 Sep 2003 09:38:03 +0000 (20 09:38 +0000)]
Remove temporary code.
* subversion/libsvn_client/status.c
(tweak_status) Remove "temporary sanity checking" code.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847176 13f79535-47bb-0310-9956-ffa450edef68
Julian Foad [Sat, 20 Sep 2003 09:18:57 +0000 (20 09:18 +0000)]
Write "URL" consistently in upper case, in the Book and in messages that
the user may see (mostly error messages and the output of "svn info").
* doc/book/book/appc.xml
* doc/book/book/ch04.xml
* doc/book/book/ch08.xml
* doc/translations/french/client.texi
* subversion/clients/cmdline/import-cmd.c
* subversion/clients/cmdline/info-cmd.c
* subversion/clients/cmdline/main.c
* subversion/include/svn_error_codes.h
* subversion/libsvn_client/checkout.c
* subversion/libsvn_client/commit_util.c
* subversion/libsvn_client/ls.c
* subversion/libsvn_client/prop_commands.c
* subversion/libsvn_ra_dav/props.c
* subversion/libsvn_wc/entries.c
* subversion/svnadmin/main.c
* subversion/svnlook/main.c
* subversion/tests/clients/cmdline/getopt_tests_data/svn_help_log_switch_stdout
Change "Url" and "url" to "URL" in user-visible strings.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847175 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Sat, 20 Sep 2003 00:07:59 +0000 (20 00:07 +0000)]
* subversion/libsvn_fs/reps-strings.c
(rep_is_mutable): The only other use of strcmp in this file and the
majority of its uses throughout the code base acknowledge that it
has a numeric -- rather than boolean -- return type. Make it so in
this function as well.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847174 13f79535-47bb-0310-9956-ffa450edef68
shlomif [Fri, 19 Sep 2003 19:35:09 +0000 (19 19:35 +0000)]
Added Shlomi Fish to the commiters list.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847173 13f79535-47bb-0310-9956-ffa450edef68
Karl Fogel [Fri, 19 Sep 2003 18:03:51 +0000 (19 18:03 +0000)]
* HACKING: Document the forward quote convention.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847172 13f79535-47bb-0310-9956-ffa450edef68
Karl Fogel [Fri, 19 Sep 2003 17:48:40 +0000 (19 17:48 +0000)]
Fix a message to print the current directory as '.', and change a lot
of backticks to forward ticks.
* subversion/clients/cmdline/propedit-cmd.c
(svn_cl__propedit): Print the dot, instead of an empty string.
* everywhere: Use ' instead of ` in text strings. Leave comments
alone -- fixing them too would make the diff unforgiveably large.
* subversion/tests/clients/cmdline/getopt_tests_data/svn_stderr:
Adjust to expect a forward quote.
Background:
Vincent Lefevre <vincent+svn@vinc17.org> pointed out that
$ svn propedit svn:ignore .
Set new value for property `svn:ignore' on `'
$
should really have said:
Set new value for property `svn:ignore' on `.'
Meanwhile, I noticed that in addition to leaving out the dot, it was
using backquotes instead of forward quotes... :-). Similar problems
with the quotes existed in a lot of other places, too. This change
fixes both problems. I have no explanation for why we say "backtick"
and "backquote" but "forward tick" and "forward quote"; just seems
natural, I guess.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847171 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Fri, 19 Sep 2003 16:45:02 +0000 (19 16:45 +0000)]
Here we go. A first step towards solving issue #1499 (the oh-my-gosh-
our-bdb-transaction-usage-is-horrible bug).
* subversion/libsvn_fs/trail.h
(svn_fs__retry): Was svn_fs__retry_txn. Add 'use_txn' parameter.
* subversion/libsvn_fs/trail.c
(begin_trail): Add 'use_txn' parameter.
(abort_trail, commit_trail): Only abort the DB txn if one exists.
(svn_fs__retry): Was svn_fs__retry_txn. Add 'use_txn' parameter.
Update call to begin_trail().
* subversion/libsvn_fs/tree.c
* subversion/libsvn_fs/reps-strings.c
* subversion/libsvn_fs/deltify.c
* subversion/libsvn_fs/uuid.c
* subversion/libsvn_fs/txn.c
* subversion/libsvn_fs/revs-txns.c
* subversion/libsvn_fs/dag.c
* subversion/tests/libsvn_fs/fs-test.c
* subversion/tests/libsvn_fs/changes-test.c
* subversion/tests/libsvn_fs/strings-reps-test.c
Change all calls to svn_fs__retry_txn() into calls to svn_fs__retry()
with the 'use_txn' flag set to '1'. Also, update other references
to the svn_fs__retry_txn() function name.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847170 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Fri, 19 Sep 2003 15:46:47 +0000 (19 15:46 +0000)]
* subversion/include/svn_fs.h
(svn_fs_node_created_path): New. Included for completeness.
* subversion/libsvn_fs/tree.c
(struct node_created_path_args, txn_body_node_created_path,
svn_fs_node_created_path): New.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847169 13f79535-47bb-0310-9956-ffa450edef68
Karl Fogel [Fri, 19 Sep 2003 14:48:36 +0000 (19 14:48 +0000)]
Apply Julian Foad's patch fixing issue #1506. This is entirely
Julian's work -- I'm committing it only because he was temporarily
unable to run 'make davcheck'.
Prevent "svn status -u" from silently ignoring ra_dav errors.
* subversion/libsvn_ra_dav/props.c
(svn_ra_dav__do_check_path) Report "svn_node_none" only if the error was
SVN_ERR_RA_DAV_PATH_NOT_FOUND; for other errors, propagate the error.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847168 13f79535-47bb-0310-9956-ffa450edef68
kellin [Fri, 19 Sep 2003 06:58:28 +0000 (19 06:58 +0000)]
Added my info to the COMMITERS file as instructed.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847167 13f79535-47bb-0310-9956-ffa450edef68
Greg Stein [Fri, 19 Sep 2003 00:43:56 +0000 (19 00:43 +0000)]
* reorder and regroup left nav items
* add missing nav items
* tweak some names to match the "current" naming
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847166 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Thu, 18 Sep 2003 23:46:09 +0000 (18 23:46 +0000)]
* subversion/libsvn_subr/utf.c
(svn_utf_cstring_from_utf8_ex): Was svn_utf_cstring_ftom_utf8_ex. (Huh?)
^^^^
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847165 13f79535-47bb-0310-9956-ffa450edef68
Ben Collins-Sussman [Thu, 18 Sep 2003 22:07:22 +0000 (18 22:07 +0000)]
Fix issue #1523: 'rm file; svn up' now resets entry-timestamp correctly.
Also, this adds another use-case for possibly setting 'commit-time'
timestamps for upcoming issue #1445.
* libsvn_wc.h (svn_wc_crawl_revisions): take new 'use_commit_times' boolean.
* libsvn_wc/adm_crawler.c (restore_file): take new 'use_commit_times'
arg. after copying text-base to working file, possibly set working
timestamp to commit-time. And unconditionally set the entry's
timestamp to match the working file.
(report_revisions, svn_wc_crawl_revisions): update callers of
restore_file(), pass new 'use_commit_times' argument into it.
* libsvn_client/diff.c (diff_repos_wc): update caller of
svn_wc_crawl_revisions().
* libsvn_client/status.c (svn_client_status): same.
* libsvn_client/switch.c (svn_client_switch): same.
* libsvn_client/update.c (svn_client__update_internal): same.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@847164 13f79535-47bb-0310-9956-ffa450edef68