Create backup branches under refs/backups/

If we create backups as regular branches under refs/heads, then those
will also be handled by the plugin and we can possibly end up with
ridiculous amounts of backups of backups. They will also be replicated
by default, which will cause unnecessary network traffic.

Instead, create the backup branches under the refs/backups/ namespace
using refs/backups/heads for branches and refs/backups/tags for tags.

Split the functionality for generating the backup branch name out into
a utility class, and add unit tests for it.

Update the 'about' documentation with more details.

Change-Id: I434dd27ad371b248f218d60304c0f6c63fb31f6b
5 files changed
tree: 0e16ee8ced6d711cd0d89005f509428a60974844
  1. src/
  2. .gitignore
  3. BUCK