https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95364

            Bug ID: 95364
           Summary: [Regression] contrib/gcc_update -r 8712 no longer
                    works
           Product: gcc
           Version: 10.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

Before switching to git repo, we could use

$ contrib/gcc_update -r 8712

to switch to revision 8712.  After switching to git, it is no longer possible
to update to a specific commit with contrib/gcc_update:

$ ./contrib/gcc_update --help
...
By default all command-line options are passed to `svn update` or `hg/git
pull` in addition to $UPDATE_OPTIONS (defined below). If the first parameter
reads --nostdflags, $UPDATE_OPTIONS as well as this parameter itself
are omitted.

If the first parameter reads --patch, the second parameter is considered
a patch file.

If the first parameter is --touch, no svn operation will be performed,
only generated files that appear to be out of date in the local tree
will be touched.

If the first parameter is --list, a list of the generated files and
their dependencies will be printed; --help prints this message.

If the first parameter is --silent, this script prints nothing other
than error messages; the second parameter is then interpreted as above.

Examples:

contrib/gcc_update -r 8712
contrib/gcc_update --patch some-patch
contrib/gcc_update --touch
contrib/gcc_update --list


UPDATE_OPTIONS=""
[hjl@gnu-cfl-2 gcc]$

The help message also mentions "svn update".

Reply via email to