Can I add a file not under root?

Greg Ward greg-hg at gerg.ca
Sun Jul 5 17:01:34 CDT 2009


On Sun, Jul 5, 2009 at 4:21 PM, Luis Solis<solisgb at gmail.com> wrote:
> I have a repository on c:\dev\proj1  (Windows)
>
> and some files that can be used in several projects in
>
> c:\dev\lib
>
> can add a specific file from c:\dev\lib to my repository on proj1

No.  One Mercurial repository manages one tree of files with one root.
 Perhaps you should turn c:\dev\lib into its own independent
repository.

If you want to get fancy, you could tie proj1 and lib together using
the new subrepos feature in 1.3.

Greg



More information about the Mercurial mailing list