[Bug 4050] New: Decouple the working and repository directories

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri Oct 4 10:29:38 UTC 2013


http://bz.selenic.com/show_bug.cgi?id=4050

          Priority: normal
            Bug ID: 4050
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Decouple the working and repository directories
          Severity: feature
    Classification: Unclassified
                OS: All
          Reporter: xiscu at email.de
          Hardware: All
            Status: UNCONFIRMED
           Version: unspecified
         Component: Mercurial
           Product: Mercurial

AFAIK, actually the repository or store (.hg) is inside the working directory
(myProject), e.g.:

+myProject\
  .tags
  .hgignore
  .hg\
  docs\
  images\
  emails\
  ...


The feature request is to allow decoupling them, e.g.:

+ myProjectBackup\
  .tags
  .hgignore
  .hg\


+ myProject\
  docs\
  images\
  emails\
  ...

The configuration of that issue could be done in .hgrc as:

[paths] (or [default])
working-directory = /path/to/myProject

User cases are:
- Backup system [1]
- Keep track of changes in directories where one can't (or wants to) create
  a repository (e.g in a remote file system)

Thanks!

xiscu

----
[1]
http://stackoverflow.com/questions/505467/can-i-store-the-git-folder-outside-the-files-i-want-tracked

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Mercurial-devel mailing list