Second question:
On my local machine, I switch to another directory and use `darcs get --no-working-dir` to get a bare repo (which I can scp to remote).
However, in a bare repo, `darcs status` will error "darcs failed: error opening _darcs/pristine.hashed/34d278e4a......".
As I understand it, a bare repo can not accept push (what's worse, can not accept command)?
Well, not until I use `darcs repair`.
No offence, how can `darcs get --no-working-dir` give me a repo that needs repair?
Third question:
Now I have a bare repo, what if I want to checkout the latest patch to working directory.
Do I have to switch to another directory again, and use `darcs get`?
Or is there a simple command that can do this?
Thanks in advance,
rnons
On Tue, 11 Dec 2012 18:20:55 +0800, Eric Kow <[email protected]> wrote:
To my awareness, the init --no-working and push is currently the best way to do this.Maybe Florent has some better advice?It's possible that a darcs put --no-working-dir feature would be a good thing.If you'd be kind enough to check http://bugs.darcs.net and perhaps submit the feature, that'd be great.Many thanks,EricOn 10 December 2012 16:00, rnons <[email protected]> wrote:Hi, list
I have a normal darcs repo with a working directory, now I decide to put it on remote server.
If I scp the _darcs directory to remote, then `darcs status` on remote will show all files as Removed.
But I don't want to scp the whole working directory to remote. So I think I need to change it as a bare repo?
My current approach is `darcs init --no-working-dir` on remote, and then `darcs push` to remote.
I'm still curious is there another way to change a normal darcs repo into a bare repo?
rnons
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users
--
Eric Kow <http://erickow.com>
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
