@jlsherrill Added commit 28d5854 which allows the code to properly handle when a repository is removed from a view definition and that view definition is refreshed & promoted.  It will ensure the repo is removed from the environments appropriately.  It also contains changes to 'clear' the contents of any existing repos in the target so that the content can then be regenerated.  This will be necessary when filtering is introduced later.