subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1663003 - in /subversion/trunk/subversion: svn/info-cmd.c svn/svn.c tests/cmdline/info_tests.py
Date Sat, 28 Feb 2015 21:23:00 GMT
Author: danielsh
Date: Sat Feb 28 21:22:59 2015
New Revision: 1663003

URL: http://svn.apache.org/r1663003
Log:
info --show-item: Change 'last-changed-rev' to 'last-changed-revision'.

* subversion/svn/info-cmd.c
  (info_item_map): Change item name.

* subversion/svn/svn.c
  (svn_cl__cmd_table."info"): Update documentation.

* subversion/tests/cmdline/info_tests.py
  (info_item_simple_multiple, info_item_url, info_item_uncommmitted):
    Update tests.

Modified:
    subversion/trunk/subversion/svn/info-cmd.c
    subversion/trunk/subversion/svn/svn.c
    subversion/trunk/subversion/tests/cmdline/info_tests.py

Modified: subversion/trunk/subversion/svn/info-cmd.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/info-cmd.c?rev=1663003&r1=1663002&r2=1663003&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/info-cmd.c (original)
+++ subversion/trunk/subversion/svn/info-cmd.c Sat Feb 28 21:22:59 2015
@@ -129,7 +129,8 @@ static const info_item_map_t info_item_m
     { MAKE_STRING("repos-root-url"),      info_item_repos_root_url },
     { MAKE_STRING("repos-uuid"),          info_item_repos_uuid },
     { MAKE_STRING("revision"),            info_item_revision },
-    { MAKE_STRING("last-changed-rev"),    info_item_last_changed_rev },
+    { MAKE_STRING("last-changed-revision"),
+                                          info_item_last_changed_rev },
     { MAKE_STRING("last-changed-date"),   info_item_last_changed_date },
     { MAKE_STRING("last-changed-author"), info_item_last_changed_author },
     { MAKE_STRING("wc-root"),             info_item_wc_root }

Modified: subversion/trunk/subversion/svn/svn.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/svn.c?rev=1663003&r1=1663002&r2=1663003&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/svn.c (original)
+++ subversion/trunk/subversion/svn/svn.c Sat Feb 28 21:22:59 2015
@@ -750,7 +750,7 @@ const svn_opt_subcommand_desc2_t svn_cl_
      "     repos-uuid            the repository UUID\n"
      "     revision              the revision of TARGET (defaults to BASE\n"
      "                           for working copy paths and HEAD for URLs)\n"
-     "     last-changed-rev      the most recent revision in which TARGET\n"
+     "     last-changed-revision the most recent revision in which TARGET\n"
      "                           was changed\n"
      "     last-changed-date     the date of the last-changed revision\n"
      "     last-changed-author   the author of the last-changed revision\n"

Modified: subversion/trunk/subversion/tests/cmdline/info_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/info_tests.py?rev=1663003&r1=1663002&r2=1663003&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/info_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/info_tests.py Sat Feb 28 21:22:59 2015
@@ -658,7 +658,7 @@ def info_item_simple_multiple(sbox):
 
   svntest.actions.run_and_verify_svn(
     r'^1\s+\S+(/|\\)info_tests-\d+(/|\\)[^/\\]+$', [],
-    'info', '--show-item=last-changed-rev',
+    'info', '--show-item=last-changed-revision',
     sbox.ospath('A'), sbox.ospath('iota'))
 
 
@@ -669,13 +669,13 @@ def info_item_url(sbox):
 
   svntest.actions.run_and_verify_svn(
     '1', [],
-    'info', '--show-item=last-changed-rev',
+    'info', '--show-item=last-changed-revision',
     sbox.repo_url)
 
 
   svntest.actions.run_and_verify_svn(
     r'^1\s+[^/:]+://.+/repos/[^/]+$', [],
-    'info', '--show-item=last-changed-rev',
+    'info', '--show-item=last-changed-revision',
     sbox.repo_url + '/A', sbox.repo_url + '/iota')
 
 
@@ -697,7 +697,7 @@ def info_item_uncommmitted(sbox):
 
   svntest.actions.run_and_verify_svn(
     '', [],
-    'info', '--show-item=last-changed-rev',
+    'info', '--show-item=last-changed-revision',
     sbox.ospath('newfile'))
 
   svntest.actions.run_and_verify_svn(



Mime
View raw message