Add better support for archiving repositories.

Review Request #6043 — Created July 1, 2014 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
9b54c7d...

Reviewers

Archiving had issues before where an archived repository's path would
still conflict with a newly created repository. This confused a lot of
people using RBCommons, and required some manual work on our end to fix.

Now, we store a flag indicating that a repository is archived, and we
store the archived timestamp. The timestamp becomes part of the
unique_together for the path, preventing that from conflicting.

Unit tests pass.