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

Re: Obtaining the list of added/removed files

From: Giovanni Bajo <rasky_at_develer.com>
Date: 2006-05-31 10:04:40 CEST

Alexey Neyman <alex.neyman@auriga.ru> wrote:

> $ svnadmin create /tmp/svn
> $ svn mkdir file:///tmp/svn/vendor
> $ svn import file:///tmp/svn/vendor/current
> Adding a
> Adding b
> Adding b/c
> Adding b/d
> Adding b/d/g
> Adding b/d/h
> Adding b/e
> Adding b/e/i
> Adding b/e/j
> Adding b/e/k
> Adding b/f
> Adding b/f/l
> Adding b/f/m
> $ svn cp file:///tmp/svn/vendor/current \
> file:///tmp/svn/vendor/snapshot1
> $ svn cp file:///tmp/svn/vendor/current \
> file:///tmp/svn/trunk
> $ svn rm file:///tmp/svn/trunk/b/e
> $ svn diff file:///tmp/svn/vendor/snapshot1 \
> file:///tmp/svn/trunk
>
> The last 'diff' command shows no changes. However, there are some: the
> copy on the trunk does not contain the files b/e/i, b/e/j, b/e/k -
> they were removed as they were a part of the b/e directory. It
> appears there is no way to obtain the list of such changes.

What if you checkout snapshot1, do a svn merge file:///tmp/svn/vendor/snapshot1
file:///tmp/svn/trunk, and then svn diff? :)

Giovanni Bajo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 31 10:05:43 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.