RE: Keyword substitutions not being merged correctly
From: Andrew Reedick <Andrew.Reedick_at_cbeyond.net>
Date: Wed, 20 Mar 2013 14:57:08 -0400
> From: David Sandberg [mailto:david.sandberg_at_HickoryTech.com]
As Thorsten pointed out, the keywords do not store the actual revision number. Only the unexpanded "$Rev$" is stored on the server.
Its sounds like "svn:keywords" isn't set correctly on Sam's feature branch. Whenever a new revision of a file is created (such as after a merge) the revision keyword should match the "Last Changed Rev:" (which you can see when you run "svn info" on the file.) What does Sam see when he runs "svn info" in step 4?
After Sam's merge in step 4 (and before Sam's commit,) does a "svn diff" show any differences in the file? If the merge didn't actually change anything, then the file won't change, so the "Last Changed Rev:" doesn't change, so the revision keyword doesn't change.
Also, you won't see the revision keyword change in the file until after you do a commit.
|
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.