public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/50840] New: gcc_update can't find SVN revision in Mercurial tree
@ 2011-10-23 17:34 simon at pushface dot org
  2011-10-23 18:39 ` [Bug other/50840] " simon at pushface dot org
  2011-10-27  4:27 ` hp at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: simon at pushface dot org @ 2011-10-23 17:34 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50840

             Bug #: 50840
           Summary: gcc_update can't find SVN revision in Mercurial tree
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: simon@pushface.org


gcc_update tries to update gcc/REVISION with the SVN revision corresponding to
the Hg revision that's been checked out. With a Mercurial clone of trunk, this
fails, because gcc_update looks for the SVN revision in the extra: line "as
stored by hg convert" (line 331ff)

    revision=`$GCC_HG log --debug -r$parents | \
        sed -ne "/^extra:.*convert_revision=svn:/ {
            s%^.*@%%
        p
        }"`

It looks as though "hg convert" has stopped storing the SVN revision:

$ hg log --debug -r104489
changeset:   104489:1fd3ec901d4423227991f3902a0e1a6103a332b6
branch:      trunk
tag:         tip
parent:      104488:1af2ecc2b00780c947914f06d884701169ecc092
parent:      -1:0000000000000000000000000000000000000000
manifest:    104489:df2c1e5611bf8b9bfff454ca9186bf42379ea5b1
user:        jvdelisle
date:        Wed Nov 10 04:58:16 2010 +0000
files:       gcc/fortran/ChangeLog gcc/fortran/expr.c gcc/fortran/intrinsic.c
extra:       branch=trunk
description:
[...]

with the result

$ cat gcc/REVISION 
[trunk revision ]


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug other/50840] gcc_update can't find SVN revision in Mercurial tree
  2011-10-23 17:34 [Bug other/50840] New: gcc_update can't find SVN revision in Mercurial tree simon at pushface dot org
@ 2011-10-23 18:39 ` simon at pushface dot org
  2011-10-27  4:27 ` hp at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: simon at pushface dot org @ 2011-10-23 18:39 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50840

--- Comment #1 from simon at pushface dot org 2011-10-23 18:38:48 UTC ---
Oh. I see the Hg tree hasn't been updated for nearly a year. Git it is. Please
close this ...

Do you think that the Hg server should be stopped?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug other/50840] gcc_update can't find SVN revision in Mercurial tree
  2011-10-23 17:34 [Bug other/50840] New: gcc_update can't find SVN revision in Mercurial tree simon at pushface dot org
  2011-10-23 18:39 ` [Bug other/50840] " simon at pushface dot org
@ 2011-10-27  4:27 ` hp at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: hp at gcc dot gnu.org @ 2011-10-27  4:27 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50840

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |hp at gcc dot gnu.org
         Resolution|                            |WONTFIX

--- Comment #2 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2011-10-27 04:26:42 UTC ---
Close as per comment 1.  I think "yes" but please ask on the gcc@ list.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-27  4:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-23 17:34 [Bug other/50840] New: gcc_update can't find SVN revision in Mercurial tree simon at pushface dot org
2011-10-23 18:39 ` [Bug other/50840] " simon at pushface dot org
2011-10-27  4:27 ` hp at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).