regproj: support 'fork' mode
commit5a93df9339ab263d963ab95a00b3a810b48bb15c
authorZachary T Welch <zw@superlucidity.net>
Mon, 26 Oct 2009 00:19:57 +0000 (25 17:19 -0700)
committerZachary T Welch <zw@superlucidity.net>
Wed, 28 Oct 2009 03:08:39 +0000 (27 20:08 -0700)
tree9d02571a680748f05495b241effbba10ab051ec2
parent51de5680462414e7da656fd749e0fb1cfac53109
regproj: support 'fork' mode

New 'fork' mode support prompts for an origin repository, unless one was
provided (e.g. by project 'fork' links).  It ensures the supplied or
inferred origin name is valid and that the project exists to be forked.

If the origin cannot be deduced, a simple form prompts for it, and the
user is returned to the page in fork mode with their input.  Thus, other
pages can use this as the target for generic 'create fork' links.
cgi/regproj.cgi