diff --git a/repo/fsrepo/fsrepo.go b/repo/fsrepo/fsrepo.go index 6e9e01dabd6..32d308048d2 100644 --- a/repo/fsrepo/fsrepo.go +++ b/repo/fsrepo/fsrepo.go @@ -168,9 +168,11 @@ func open(repoPath string, userConfigFilePath string) (repo.Repo, error) { return nil, err } - if RepoVersion > ver { - return nil, ErrNeedMigration - } else if ver > RepoVersion { + // TODO: now skip version migration check + // if ver != 11 && RepoVersion > ver { + // return nil, ErrNeedMigration + // } else + if ver > RepoVersion { // program version too low for existing repo return nil, fmt.Errorf(programTooLowMessage, RepoVersion, ver) }