Stefan Reichör <[EMAIL PROTECTED]> writes:
> Hi Dan
>
>> Hi,
>>
>> Is somebody working to make bookmarks usable with bzr and hg?
>>
>> I looked to the dvc-bookmarks.el and it seems to be in a very alpha
>> stage. Even I don't have much free time I am willing to help to make
>> this code usable.
>
> Thanks for your offer!
>
> I started to improve the dvc-bookmarks.el code now.
>
> At the moment you must add your bookmarks manually to the variable
> dvc-bookmark-alist. Put something like the following in your .emacs:
>
> (setq dvc-bookmark-alist
> '(("hg"
> (local-tree "~/work/hg/hg"))
> ("work-stuff"
> (children
> ("home-dir"
> (local-tree "~/"))
> ("another-dir"
> (local-tree "~/work"))))))
>
> I have implemented already a function to store that variable to a file.
>
> If you have an idea for an improvment, please let us discuss it on the
> list to ensure it goes in the right direction.
>
> Stefan.
I upgraded my dvc version to 126 and I create a dvc-bookmark-alist:
(("dvc"
(local-tree "~/pers/project/dvc"))
("plan"
(local-tree "~/pers/plan")
(children
("dpc" (local-tree "/misc/dpc/users/dan/pers/plan"))))
("etc"
(local-tree "~/etc")
(children
("dpc" (local-tree "/misc/dpc/users/dan/etc"))
("system" (local-tree "/home/system/admin/common/home/users/dan/etc"))))
("bin"
(local-tree "~/bin")
(children
("dpc" (local-tree "/misc/dpc/users/dan/bin"))
("system"(local-tree "/home/system/admin/common/home/users/dan/bin")))))
Now, I can work with dvc-bookmarks, thank you.
Some issues about dvc-bookmarks:
1. For bzr project m command doesn't work:
apply: Symbol's function definition is void: dvc-dvc-missing
2. If I put a project with children as first project in
dvc-bookmarks-alist the dvc-bookmarks command doesn't work.
3. The dvc-bookmarks.el seems to need also a (require 'dvc-state)
Is it the "children" concept a generalisation of tla "partners"
concept? If it is so the DVC missing command should return the list of
missing changesets from main local tree. What do you think?
Dan
_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev