|
Created on 2009-04-04.11:27:10 by twb, last changed 2017-07-30.23:54:41 by gh.
msg7573 (view) |
Author: twb |
Date: 2009-04-04.11:27:06 |
|
My /etc directory is under version control. Because this repository
contains confidental information, _darcs is not readable by normal
users.
Currently Darcs treats /etc as "not a repository". It would be better
if could recognize an unreadable _darcs and report something like "is
a repository, but not accessible".
Here is a transcript demonstrating the problem.
$ sudo sh -c 'umask 077 && darcs init'
$ ls -al
total 0
drwx------ 3 twb twb 60 2009-04-04 22:26 .
drwxrwxrwt 9 root root 600 2009-04-04 22:25 ..
drwx------ 5 root root 140 2009-04-04 22:26 _darcs
$ darcs show repo
darcs failed: Unable to "darcs show repo" here.
You need to be in a repository directory to run this command.
|
msg10661 (view) |
Author: kowey |
Date: 2010-04-04.09:24:58 |
|
I suppose here we'd be implicitly assuming that anything with a _darcs
directory is a repository. Will this actually catch a lot of cases?
Wouldn't the _darcs directory also be invisible in a lot of these (-x on
the outer dir?). Anyway, I guess it couldn't really hurt except maybe
in KISS terms.
|
|
Date |
User |
Action |
Args |
2009-04-04 11:27:10 | twb | create | |
2009-04-09 11:09:28 | kowey | set | priority: wishlist nosy:
kowey, simon, twb, thorkilnaur, dmitry.kurochkin |
2009-08-18 19:52:07 | kowey | set | status: unread -> needs-implementation nosy:
kowey, simon, twb, thorkilnaur, dmitry.kurochkin topic:
+ UI |
2009-08-25 17:42:53 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 14:27:24 | admin | set | nosy:
kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin |
2010-04-04 09:25:00 | kowey | set | topic:
+ ProbablyEasy nosy:
+ jaredj messages:
+ msg10661 |
2017-07-30 23:54:41 | gh | set | status: needs-implementation -> given-up |
|