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

RE: Re: unmodified files are being committed

From: David Carson <dccarson_at_yahoo.com>
Date: Wed, 2 Sep 2009 21:24:01 -0700 (PDT)

> On Thu, Sep 3, 2009 at 1:48 PM, David Carson <dccarson_at_yahoo.com> wrote:
>
> > We are occasionally seeing a commit which includes the modified files and
> > one or more unmodified file(s). How is this possible?
> >
> > $ svnlook changed -r 496 /export/svn/merlin
> > U top/branches/v12/code/type.c
> > U top/branches/v12/tools/crashfmt
> >
> > $ svnlook diff -r 496 /export/svn/merlin | grep "^Modified"
> > Modified: top/branches/v12/code/type.c
> >
> > As you can see, the commit seems to contain textual changes to two files
> > ('U' is in column 1). However, when I diff the files, only one of them has
> > truly changed. I have tried to see the diff to crashfmt in other ways as
> > well, using command line client, viewVc, etc. All agree that (a) it was
> > part of the commit and (b) it was not changed.
> >
> > What is going on?
> >
> > Thanks,
> > David
> >
> > ------------------------------------------------------
> >
> > http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2390510
> >
> > To unsubscribe from this discussion, e-mail: [
> > users-unsubscribe_at_subversion.tigris.org].
> >
>
> What is the exact output of the 'svnlook diff' command on the crashfmt path?
> Is there any difference if you run 'svn diff' instead?
>

Some client CLI output:

$ cd working_copy/path/to/crashfmt
$ svn log -v -r 496 crashfmt
------------------------------------------------------------------------
r496 | cburch | 2009-09-02 20:26:17 -0400 (Wed, 02 Sep 2009) | 5 lines
Changed paths:
   M /top/branches/v12/code/type.c
   M /top/branches/v12/tools/crashfmt

blah, blah, blah

------------------------------------------------------------------------
$ svn diff -r 495:HEAD crashfmt
$ svn log -v crashfmt | grep "^r"
r481 | scotch | 2009-07-21 21:00:46 -0400 (Tue, 21 Jul 2009) | 6 lines
r479 | scotch | 2009-07-15 20:21:05 -0400 (Wed, 15 Jul 2009) | 5 lines
r452 | scotch | 2009-02-28 21:29:00 -0500 (Sat, 28 Feb 2009) | 5 lines

Notes:
- First log command shows two modified files.
- Diff command has no output.
- Second log command, without a specific revision range, shows three earlier revisions on crashfmt, but NOT 496.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2390519

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-03 06:25:22 CEST

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.