On Jul 31, 2009, at 09:30, Mike Schincariol wrote:
> I was wondering if there is a way to determine which files are part
> of a directory move. For example, consider the following tree:
>
> trunk
> |
> |-old_dir
> |
> |-test_file.txt
>
> If I move old_dir using the command:
> "svn move old_dir new_dir"
>
> I get the following tree:
>
> trunk
> |
> |-new_dir
> |
> |-test_file.txt
>
> However, doing an "svn log" on this change does not show that the
> file, test_file.txt, was moved (even though it obviously was). It
> only shows that the directory, old_dir, was moved to become new_dir.
>
> In SVN, is there a way to get a listing of files that were moved as
> part of a directory move?
I don't think there's a built-in command to do that. You could
probably write a script to do so using Subversion language bindings.
If this is just a one-time thing you want to find out, you could list
the contents of the directory using "svn ls" and a revision argument.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2377542
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-31 22:12:46 CEST