https://bugzilla.wikimedia.org/show_bug.cgi?id=35218
Web browser: ---
Bug #: 35218
Summary: svnImport generates "svn: No such revision" errors.
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: CodeReview
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
I am not sure if this is a problem with my local CR or SVN configuration, or
whether it is a general issue. I don't recall experiencing it before (I've had
about a 6 month break from using CR) so it may be a regression, or it may be
due to a server move.
Here is the output that I get when I run svnImport.php for my sandbox repo:
$ php svnImport.php sandbox
Using SubversionShell adaptor
IMPORT FROM REPO: sandbox
Last stored revision: 118
Syncing from r119 to HEAD...
svn: No such revision 119
svn: No such revision 119
svn: No such revision 119
svn: No such revision 119
svn: No such revision 119
Pre-caching skipped.
Done!
The latest revision of the repo is 118, which is also the latest revision in MW
(i.e. it is fully up-to-date). The reason we are getting the error repeatedly,
is that svnImport uses a large block-size on its first attempt, which is then
reduced repeatedly until it fails with a block-size of 1. If I add some code
to print the command-line that is actually executed in svn_log(), I get the
following:
Using SubversionShell adaptor
IMPORT FROM REPO: sandbox
Last stored revision: 118
Syncing from r119 to HEAD...
LC_ALL=en_US.utf-8 svn log -v -r'119':'518' --non-interactive 'URL'
svn: No such revision 119
LC_ALL=en_US.utf-8 svn log -v -r'119':'218' --non-interactive 'URL'
svn: No such revision 119
LC_ALL=en_US.utf-8 svn log -v -r'119':'143' --non-interactive 'URL'
svn: No such revision 119
LC_ALL=en_US.utf-8 svn log -v -r'119':'124' --non-interactive 'URL'
svn: No such revision 119
LC_ALL=en_US.utf-8 svn log -v -r'119':'119' --non-interactive 'URL'
svn: No such revision 119
Pre-caching skipped.
Done!
Running the svn log command from the command-line, gives the same 'No such
revision' response. I have tested this with svn 1.3.2 and svn 1.6.6 and get
the same results for both.
Basically, the error is harmless - it is correct, there is no revision 119 -
however it should not be output. Note that you also get a similar error when
there are new revisions, in amongst the successful log imports.
As far as I can see, there are no functional problems caused by this.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l