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

Re: Roadmap : 1.7 Release Status : Test Review : XFails

From: Paul Burba <ptburba_at_gmail.com>
Date: Wed, 2 Feb 2011 12:16:48 -0500

On Tue, Feb 1, 2011 at 10:16 PM, Noorul Islam K M <noorul_at_collab.net> wrote:
> Paul Burba <ptburba_at_gmail.com> writes:
>
> LISTING: depth_tests.py
>
> Test #  Mode   Test Description
> ------  -----  ----------------
>  36    XFAIL  'info' should treat excluded item as versioned
>  Issue #: None
>  Target Milestone: N/A
>  Thread: N/A
>  Log: r876772
>  Point Person: danielsh
>
> I think issue #3787 is related to this XFail test.

Hi Noorul,

Related maybe, but not the same.

Issue #3787 is about using 'svn info -R SOME-WC-PATH' (probably with a
new option) to display how a shallow WC is setup (i.e. where the
"pruned" branches end and what is missing underneath them).
SOME-WC-PATH would be an included path, probably the root of the WC.
Right now we show only what is included in the WC and plus we show
*all* the information for each path, so it isn't very easy to parse
with the eyes.

depth_tests.py 36 on the other hand, tests how 'svn info
SOME-EXCLUDED-WC-PATH' treats SOME-EXCLUDED-WC-PATH just like any
other non-existent path:

>svn info -R misc-docs\best_practices.xml
  Path: misc-docs\best_practices.xml
  Name: best_practices.xml
  Working Copy Root Path: C:\SVN\src-branch-1.6.x-WCNG
  URL: https://svn.apache.org/repos/asf/subversion/branches/1.6.x/doc/misc-docs/best_practices.xml
  Repository Root: https://svn.apache.org/repos/asf
  Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
  Revision: 1066535
  Node Kind: file
  Schedule: normal
  Last Changed Author: maxb
  Last Changed Rev: 857276
  Last Changed Date: 2005-11-04 15:46:16 -0500 (Fri, 04 Nov 2005)
  Text Last Updated: 2011-02-02 11:54:13 -0500 (Wed, 02 Feb 2011)
  Checksum: 733a6c710c83c2e41c64735ca34345ee4c1330c5

>svn up --set-depth exclude misc-docs\best_practices.xml
  D misc-docs\best_practices.xml

>svn info -R misc-docs\best_practices.xml
  svn: warning: W155010: The node
'C:\SVN\src-branch-1.6.x-WCNG\doc\misc-docs\best_practices.xml' was
not found.

  ..\..\..\subversion\svn\info-cmd.c:591: (apr_err=200000)
  svn: E200000: A problem occurred; see other errors for details

>svn info -R misc-docs\totall-made-up-file-that-doesnt-exist
  svn: warning: W155010: The node
'C:\SVN\src-branch-1.6.x-WCNG\doc\misc-docs\totall-made-up-file-that-doesnt-exist'
was not found.

  ..\..\..\subversion\svn\info-cmd.c:591: (apr_err=200000)
  svn: E200000: A problem occurred; see other errors for details

Ideally we'd want to differentiate between the two.

Paul
Received on 2011-02-02 18:17:26 CET

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.