base.bbclass: catch up revision display with new monotone version
authorMichael Lauer <mickey@vanille-media.de>
Wed, 19 Jul 2006 13:40:56 +0000 (13:40 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Wed, 19 Jul 2006 13:40:56 +0000 (13:40 +0000)
classes/base.bbclass

index 852727e..49d6260 100644 (file)
@@ -544,7 +544,7 @@ python base_eventhandler() {
                path_to_packages = path_to_bbfiles[:path_to_bbfiles.rindex( "packages" )]
                monotone_revision = "<unknown>"
                try:
-                       monotone_revision = file( "%s/MT/revision" % path_to_packages ).read().strip()
+                       monotone_revision = file( "%s/_MTN/revision" % path_to_packages ).read().strip()
                except IOError:
                        pass
                bb.data.setVar( 'OE_REVISION', monotone_revision, e.data )