]> git.madduck.net Git - code/myrepos.git/blob - TODO

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

use newlines to separate shell command lines
[code/myrepos.git] / TODO
1 * more revision control systems
2 * support for tracking repo renames
3
4   It should be possible to tell mr that there used to be a repo at
5   src/foo/bar, and it's been moved to src/bar. mr would then detect if the
6   move needs to be done, and handle it. This is mostly useful when mrconfig
7   files are shared accross several systems.
8
9   [src/bar]
10   renamedfrom = src/foo/bar
11
12   (Support multple renames of a single repo?)
13
14 * repo deletions
15
16   Handling repo deletions might also be possible, but is tricky, since
17   there's no good way to tell if a local checkout of a given repo is clean
18   and really should be deleted. Probably better for mr to just warn that a
19   repo still exists on disk that it is no longer managed.
20
21   [src/foo/baz]
22   deleted = true
23
24 * mr register
25
26   Idea is you check out a repo and then use mr register to add it to the
27   closest mrconfig file.
28
29   mr register would be implemented as a shell command that then calls
30   mr config with flags that make it actually edit the mrconfig file:
31
32   if [ -d "$MR_REPO/.svn" ]; then
33         url=$(svn info "$MR_REPO" | grep -i ^URL: | cut -d ' ' -f 2)
34         if [ -z "$url" ]; then
35                 error "cannot determine svn url"
36         fi
37         mr -c "$MR_CONFIG" config --add "$MR_REPO" --checkout="svn co $URL"
38   fi