Daniel Shahaf wrote on Tue, 23 Oct 2018 14:50 +0000: > Alan Spark wrote on Tue, 23 Oct 2018 14:41 +0100: > > perl dump-noderev.pl /path/to/repository /trunk/scripts/script.py 728 > > Use of uninitialized value $noderev_id in split at dump-noderev.pl line 41. > > Sorry about that; the script is obviously missing an error check. > > Looks like 'svnlook' does not exist in your $PATH. > > It's not obvious to non Perl speakers, but line 6 does the > equivalent of: > . > if [ -z "$SVNLOOK" ]; then SVNLOOK=svnlook ; fi > . > so if you run the script with svn/svnadmin/svnlook in PATH, _or_ with > $SVN, $SVNADMIN, $SVNLOOK set to those executables' full paths, then it > should work.
The above is the preferred way forward, but if you hit roadblocks with that, there _is_ a crude alternative: % grep -a '^type:' /path/to/repository/db/revs/0/728 This will extract only one field from the rfc822-formatted node-rev header. It's a poor substitute to the Perl script, but better than nothing. Cheers, Daniel