[SOLVED] IM7 svn broken: lost months of commits
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
[SOLVED] IM7 svn broken: lost months of commits
I unfortunately deleted the directory tree I had, two hours ago, so I can't directly compare, but the code inside pixel.c is definitely outdated. It predates the changes to bicubic which introduced Catmull-Rom.
I'll be double checking that I did not so something silly, but I figured this was urgent to let the info out just in case something bad happened.
I'll be double checking that I did not so something silly, but I figured this was urgent to let the info out just in case something bad happened.
Last edited by NicolasRobidoux on 2012-06-10T12:57:20-07:00, edited 6 times in total.
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
RE: svn of IM7 reverted to an older version???
Indeed:
svn co https://www.imagemagick.org/subversion/ ... gick-7.0.0 ImageMagick
brings about a version of pixel.c which looks like it is several versions old, version that predates switching bicubic to Catmull-Rom and probably several other things.
svn co https://www.imagemagick.org/subversion/ ... gick-7.0.0 ImageMagick
brings about a version of pixel.c which looks like it is several versions old, version that predates switching bicubic to Catmull-Rom and probably several other things.
Last edited by NicolasRobidoux on 2012-06-10T11:24:02-07:00, edited 1 time in total.
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
Re: svn of IM7 reverted to an older version???
svn trunk seems fine.
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
Re: svn of IM7 reverted to an older version of pixel.c
I put a copy of something which should be pretty close to what should be IM7 pixel.c here: http://web.cs.laurentian.ca/nrobidoux/m ... ed_pixel.c
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
Re: svn of IM7 reverted to an older version of pixel.c
svn log shows a jump from r7174 to r8212.
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
Re: svn of IM7 reverted to an older version of pixel.c
I made one single commit last week into 7.0.0. Could I have broken something? I svn ci right back to the web location from which I had svn co the source tree using
svn ci -m "mext -> next typo".
svn ci -m "mext -> next typo".
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
Re: svn of IM7 reverted to an older version of pixel.c
The log of svn trunk (IM6) does not show a large jump.
I am quite certain that the IM7 svn is broken.
I am quite certain that the IM7 svn is broken.
Re: [URGENT] IM7 svn broken: lost months of commits
Development is in the Subversion trunk. Try
- svn co https://subversion.imagemagick.org/subv ... dows/trunk ImageMagick
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
Re: [SOLVED] IM7 svn broken: lost months of commits
So, I may have been the one who broke things by commiting back into https://www.imagemagick.org/subversion/ ... gick-7.0.0.
I'll stick to https://subversion.imagemagick.org/subv ... dows/trunk from now on.
I'll stick to https://subversion.imagemagick.org/subv ... dows/trunk from now on.
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
Re: [SOLVED] IM7 svn broken: lost months of commits
magick: I know what went wrong: I've never used branches with svn (git only), and consequently completely misunderstood you when you wrote
Apologies.
On top of it, I had forgotten that the "true" subversion repo is not the "public" one.Nicolas, don't forget you need to interpolate alpha separately and blend it into the color channel results. Here's the refactored code. You / Anthony can update this method in the Subversion trunk. Don't forget there are 4 locations. Two places in ImageMagick 7.0.0-0 and two in ImageMagick 6.7.7-6.
Apologies.
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
Re: [SOLVED] IM7 svn broken: lost months of commits
magick: You really want me to svn co and ci through ImageMagick-Windows or you actually want me to do it through the 7.0.0 and 6.7.7 branches of https://subversion.imagemagick.org/subv ... /branches/ (without merging back into trunk), or just touch https://subversion.imagemagick.org/subv ... ick/trunk/ or something else?
(Still reading about how to deal with multiple branches.)
(Still reading about how to deal with multiple branches.)
Re: [SOLVED] IM7 svn broken: lost months of commits
For the ImageMagick 7 alpha series, use
For the ImageMagick 6 stable series, use
In general, be very careful in the ImageMagick 6 series because its the stable release. You can be less careful in the ImageMagick 7 series because its alpha and is expected to break. Of course, don't break it if you can avoid it.
- svn co https://subversion.imagemagick.org/subv ... dows/trunk ImageMagick
- svn update
For the ImageMagick 6 stable series, use
- svn co https://subversion.imagemagick.org/subv ... geMagick-6 ImageMagick-6.7.7
- svn update
In general, be very careful in the ImageMagick 6 series because its the stable release. You can be less careful in the ImageMagick 7 series because its alpha and is expected to break. Of course, don't break it if you can avoid it.
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
Re: [SOLVED] IM7 svn broken: lost months of commits
Aahhh! You really do mean the ImageMagick-Windows trunk then, not the ImageMagick trunk, just inside the ImageMagick folder instead of at the top level.magick wrote:For the ImageMagick 7 alpha series, use
- svn co https://subversion.imagemagick.org/subv ... dows/trunk ImageMagick
I would never have guessed.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: [SOLVED] IM7 svn broken: lost months of commits
You can see what changes are between your copy and the SVN using
For commits I use to see what files I have changed (I never commit everything due to some personal changes)
Remember before you can commit you need to merge in the 'updates' from the SVN, and resolve any conflicts.
Code: Select all
svn st
Code: Select all
svn st -q
Remember before you can commit you need to merge in the 'updates' from the SVN, and resolve any conflicts.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
Re: [SOLVED] IM7 svn broken: lost months of commits
For the record, here is how I committed the changes to the one file I changed, pixel.c.
First I created an svn repo in my home dir:All I wanted to change at this point was the pixel.c file in ImageMagick-Windows/trunk/ImageMagick/MagickCore, which is actually in ~/ImageMagick/ImageMagick/MagickCore. I cd'd there andEdited, double checked etc. Committed the changes with
First I created an svn repo in my home dir:
Code: Select all
svn co https://subversion.imagemagick.org/subversion/ImageMagick-Windows/trunk ImageMagick
Code: Select all
svn changelist INTERPOLATE pixel.c
Code: Select all
svn commit --changelist INTERPOLATE -m "pixel.c: clean up Catrom and fix Spline"