Newbie : how to setup my repository-ies

RAPPAZ Francois francois.rappaz at unifr.ch
Fri Nov 2 14:24:57 UTC 2012


I'm a java developper (I don't share my work with anyone else in my organization) and I plan to post on google.code a project I wrote. I have no experience with VCS and choose Mercurial to check the versions. I use Ant to build my projects and genjar to include in a single jar my class files and class files from external libraries.



I have the following folders structure on my pc



Dev

 - proj

     - application1

      - application2

        ...

- src

   - my packages folders with source files common for all applications/projects

- class

    - lib the external jar I need

    - my packages folders with class files

- lib

And a picture of it if the lines above were messed up

[cid:image001.png at 01CDB90C.87988C00]























The proj and application folders contain the buildfiles use by ant and received the jar zip and java doc form running it.



I have create a new folder hgprog under dev, but I'm stuck next. Shall I create a repository say for application1, and copy the source directories I need for application1 with the window explorer ? then use hg add to create the repository ?



Shall I make a repository for each of my source folders in the source tree ? or one repository in the src folders for all my source tree (but that will include java  files I don't use )



This is surely a very lame question but anyway... thanks for any help



François
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20121102/dfa8665a/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4871 bytes
Desc: image001.png
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20121102/dfa8665a/attachment-0002.png>


More information about the Mercurial mailing list