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

[PATCH] Take 3: Modified export behavior

From: John Szakmeister <john_at_szakmeister.net>
Date: 2003-11-19 00:34:54 CET

Okay, I think I've got all of this worked. I use the working copy timestamps
only if the file is locally modified. For a locally modified file, I will
also substitute in "(local)" as the author, append an 'M' to the revision
number, and use the working copy time for LastChangedDate.

So, here's another stab with everything. If no one disapproves of it, I'll
commit it tomorrow, and hopefully move on to more serious problems. :-)

-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, as well as adding appropriate
timestamping. 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 Wed Nov 19 00:31:19 2003

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.