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

Re: svn marks files as modified after creating a branch

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-06-23 17:20:17 CEST

On 6/23/2006 11:01 AM, Urs Thuermann wrote:
> Another surprising behavior of SVN. After I have created a branch in
> my working copy, svn stat shows files as modified even though they are
> not:
>
> $ svn co http://svn.berlios.de/svnroot/repos/socketcan
> A socketcan/trunk
> A socketcan/trunk/can-utils
> A socketcan/trunk/can-utils/terminal.h
> ...
> A socketcan/trunk/etc/llcf
> A socketcan/branches
> A socketcan/tags
> Checked out revision 40.
> $ cd socketcan/
> $ svn mkdir branches/ut
> A branches/ut
> $ svn cp trunk branches/ut/hlist
> A branches/ut/hlist
> $ svn stat
> A branches/ut
> A + branches/ut/hlist
> M + branches/ut/hlist/kernel/2.6/drivers/net/can/mscan/mscan.c
> M + branches/ut/hlist/kernel/2.6/drivers/net/can/mscan/mscan.h
> M + branches/ut/hlist/kernel/2.6/drivers/net/can/mscan/mpc52xx_can.c
>
> What is happening here? What do the three M lines mean? I haven't
> modified these files. BTW, the repository is public, so you could try
> to reproduce this.

Just a guess, but the mscan.c file has svn:keywords assigned, and
contains a $Id:$ keyword; that was probably modified when you made the copy.

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 23 17:22:34 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.