From SpectLog
Jump to: navigation, search

Problem

Running git svn fetch fails with the following output:

Index mismatch: fcfb430091b4d2f96ab7fa3679e047429aaa408e != 3d31a05d515fee423ea8c8678f53d75e7e7b2722
rereading 801b613f138d7e40910001115002dd98ee269fc1
        M       test/control/tests/test_util.py
...
        M       nel/mgt/defects_report/map.py
W: -empty_dir: C755A-ALL_47/branches/activities/C755A_32/C755A-1581/salt/salt/nel/orchestrate/stage_flag_files/dummy.sls
W: -empty_dir: C755A-ALL_47/branches/activities/C755A_32/C755A-1581/test/control/conf/jobs/init.conf
Complex regular subexpression recursion limit (32766) exceeded at /usr/share/perl5/vendor_perl/YAML/Loader.pm line 517, <$IN> line 1.
YAML Error: Can't parse double quoted string
   Code: YAML_PARSE_ERR_BAD_DOUBLE
   Line: 205
   Document: 1
 at /usr/share/perl5/vendor_perl/YAML/Loader.pm line 523.

Could not unmemoize function `check_cherry_pick', because it was not memoized to begin with at /usr/share/perl5/vendor_perl/Git/SVN.pm line 1639.
END failed--call queue aborted at /usr/libexec/git-core/git-svn line 49.

Solution

Check latest revision from current branch:

 git log --all

For example, this commit log shows 7084 as last revision:

* commit 9f399f2a5a31b9bca636a00c8d8301e7f85e64d7 (refs/remotes/some_branch, refs/heads/some_branch)
| Author: email@example.com <email@1eb5e14e-113a-4dc5-8b51-65d29ca85466>
| Date:   Fri May 30 09:43:56 2014 +0000
|
|     Update initial revision in some script
|
|     git-svn-id: http://example.com/svn/repo/branches/some_branch@7084 1eb5e14e-113a-4dc5-8b51-65d29ca85466

Run this:

git svn reset -r 7084
git svn fetch

See also