Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8031567

Better model for storing source revision information

XMLWordPrintable

    • b147

        We are currently using "hg tip" to create the "source_tips" file, and correspondingly for the closed bundles.

        But this is incorrect. It will show the latest committed version in the repo, not the actual workspace (i.e. the version we actually build).

        For this, we should use "hg id" instead. If we have a clean workspace updated to the tip, it will produce the same output. Otherwise it will show what we build, with a traliing "+" if there are local, non-committed changed.

        Also, we should not name the file "tip" in this case.

        And finally, we do not need to sprinkle these files all around in all repos. The entire handling should be more clearly abstracted.

              ihse Magnus Ihse Bursie
              ihse Magnus Ihse Bursie
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: