diff -w doesn't work?

Neal Becker ndbecker2 at gmail.com
Fri Apr 6 09:02:52 CDT 2007


Notice that the first line differs by non-whitespace, but other lines that differ
 by only whitespace are shown as changed also:

hg diff -w storage.hpp
diff -r a788fd686650 boost/numeric/ublas/storage.hpp
[...]
                         }
                     }
                     else {
-                     if (not detail::has_trivial_constructor<T>::value) {
-                        for (pointer di = data_; di != data_ + size; ++di)
-                         alloc_.construct (di, value_type());
-                     }
+                        if (! detail::has_trivial_constructor<T>::value) {
+                            for (pointer di = data_; di != data_ + size; ++di)
+                                alloc_.construct (di, value_type());
+                        }
                     }
                 }



More information about the Mercurial-devel mailing list