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

[PATCH] Take 2: Modified export behavior

From: John Szakmeister <john_at_szakmeister.net>
Date: 2003-11-18 01:03:13 CET

Here's the new patch complete with tests and all. Although, I'm a native
english speaker, I'm not terribly elegant with command summaries. :-) Please
have a look and let me know if it's okay. :-)

-John

Log:
---------------------------------
Fixes a minor issue with the 'export' command failing to copy the BASE
revision of files when '-rBASE' is specified. Also fixes translation of
keywords for locally modified files. Adds a couple of tests for this new
functionality.

* subversion/libsvn_client/export.c
  (copy_versioned_files): Added revision parameter. Changed the copy
  algorithm to translate keywords and eol style when appropriate.
  
  (svn_client_export): Added the ability to better distinguish when the
  repository should be contacted versus using the local base or working copy.

* subversion/clients/cmdline/main.c
  (svn_cl__cmd_table): Updated to reflect export's new functionality.

* subversion/tests/clients/cmdline/export_tests.py
  (export_working_copy_with_keyword_translation,
   export_working_copy_with_property_mods,
   export_working_copy_at_base_revision): New export tests.

* subversion/tests/clients/cmdline/svntest/actions.py
  (run_and_verify_export): Added new *args parameter to support new export
  tests.

---------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Nov 18 00:59:37 2003

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