Newbie : how to setup my repository-ies

RAPPAZ Francois francois.rappaz at unifr.ch
Wed Nov 7 13:52:34 UTC 2012


My lib folder contains external jar files, yes, but since my projects are rather small, depending on one or two external libraries, I have always succeed with having genjar grabing the needed class files in my jar.

David M. Carr wrote:
>If it contains other projects, I recommend creating a new folder
>structure, copying in just the portions that you want to post to
>Google Code, and testing that it builds.  You'd then initialize the
>Mercurial repository in the root of this new folder structure.

That's what I've done. I was wondering how to connect the portion I copied with the whole source tree. Creating a second repository in src for all my source files did not work, since I got a message saying the repository were disconnected.

What about cloning the whole src repository and then removing the source file I don't use for the application1 ? what will happen if I merge the changes done in application1 back to src ? will mercurial delete the files ?


François 



More information about the Mercurial mailing list