Page 1 of 1

[SOLVED] svn trunk: Changelog is not under version control?

Posted: 2012-08-02T07:19:17-07:00
by NicolasRobidoux
What am I doing wrong? From an svn trunk copy:

Code: Select all

svn diff -r 8805:8813 Changelog
svn: 'Changelog' is not under version control
svn diff -r 8800:8813 magick/enhance.c
Index: magick/enhance.c
===================================================================
--- magick/enhance.c	(revision 8800)
+++ magick/enhance.c	(revision 8813)
@@ -3842,17 +3842,15 @@
 	 * range.
 	 *
 	 * "+epsilon" is to allow a=0 without division by zero.
-         *
-     	 * "+0.5" below is to round by casting.
          */
         sigmoidal_map[i]=(MagickRealType) ScaleMapToQuantum((MagickRealType)
-          (MaxMap*(0.5+(uu-(u0+u1)/2.0)/(u1-u0+MagickEpsilon))+0.5));
+          (MaxMap*(0.5+(uu-(u0+u1)/2.0)/(u1-u0+MagickEpsilon))));
 #else
         /* Scaled sigmoidal formula: (1/(1+exp(a*(b-u))) - 1/(1+exp(a*b)))
          *                           /
          *                           (1/(1+exp(a*(b-1))) - 1/(1+exp(a*b)))
-	 *
-	 * "+0.5" below is to round by casting.
+         *
+     	 * Nicolas is still trying to figure out what the "+0.5" is for.
          */
         sigmoidal_map[i]=(MagickRealType) ScaleMapToQuantum((MagickRealType)
           (MaxMap*((uu-u0)/(u1-u0))+0.5));

Re: svn trunk: Changelog is not under version control?

Posted: 2012-08-02T07:41:21-07:00
by magick
ChangeLog is under version control. We're not sure why its failing for you.

Re: svn trunk: Changelog is not under version control?

Posted: 2012-08-02T08:08:39-07:00
by NicolasRobidoux
I deleted my current IM6 folder and reconstructed straight from the repo:

Code: Select all

svn co https://subversion.imagemagick.org/subversion/ImageMagick/branches/ImageMagick-6/ IM6
Then:

Code: Select all

cd IM6
svn diff -r 8805:8813 Changelog
svn: 'Changelog' is not under version control
but magick/enhance.c "svn diff"s just fine.
In addition, I committed changes to Changelog myself yesterday, and it worked.
I am mystified.
Up to date Linux Mint 12 (which seems kind of unstable these days: the Ubuntu-driven updates seem to mess with Cinnamon and Firefox). Hopefully the issue will disappear when I upgrade to LM13?

Re: svn trunk: Changelog is not under version control?

Posted: 2012-08-02T08:55:58-07:00
by magick
It could be your environment. We tried your commands and it worked without complaint:
  • svn commit -m ' '
    Sending ChangeLog
    Transmitting file data .
    Committed revision 8815.

Re: svn trunk: Changelog is not under version control?

Posted: 2012-08-03T04:44:40-07:00
by glennrp
Nicholas: it's ChangeLog not Changelog (has uppercase "L" in the filename).

Re: svn trunk: Changelog is not under version control?

Posted: 2012-08-03T04:47:24-07:00
by NicolasRobidoux
Glenn: Thank you. (Duh!)