X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/e9de7f196a3b998952e8f62acb04a18d9f087d8a..4c155e72e66ff5d1122b4c9f583514725308ad04:/TODO?ds=sidebyside diff --git a/TODO b/TODO index d12dbd2..69fab7d 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,5 @@ * more revision control systems + * support for tracking repo renames It should be possible to tell mr that there used to be a repo at @@ -9,30 +10,9 @@ [src/bar] renamedfrom = src/foo/bar - (Support multple renames of a single repo?) - -* repo deletions - - Handling repo deletions might also be possible, but is tricky, since - there's no good way to tell if a local checkout of a given repo is clean - and really should be deleted. Probably better for mr to just warn that a - repo still exists on disk that it is no longer managed. - - [src/foo/baz] - deleted = true - -* mr register - - Idea is you check out a repo and then use mr register to add it to the - closest mrconfig file. - - mr register would be implemented as a shell command that then calls - mr config with flags that make it actually edit the mrconfig file: + (How to support multple renames of a single repo? List multiple + renamedfrom dirs?) - if [ -d "$MR_REPO/.svn" ]; then - url=$(svn info "$MR_REPO" | grep -i ^URL: | cut -d ' ' -f 2) - if [ -z "$url" ]; then - error "cannot determine svn url" - fi - mr -c "$MR_CONFIG" config --add "$MR_REPO" --checkout="svn co $URL" - fi +* a way to detect repos in a tree that are not registered, and warn + about or even auto-register them. (svn externals make this quite + difficult!)