File: post-commit-svn-redis

package info (click to toggle)
mkgmap 0.0.0%2Bsvn4905-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,032 kB
  • sloc: java: 73,856; xml: 1,695; python: 713; sh: 240; makefile: 149; perl: 31
file content (8 lines) | stat: -rwxr-xr-x 109 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
#!/bin/bash

REPOS="$1"
REV="$2"

PROJECT=${REPOS##*/}

redis-cli lpush "svn:actions" "commit:$PROJECT:$REV"