https://bz.mercurial-scm.org/show_bug.cgi?id=6830

            Bug ID: 6830
           Summary: hg commands should not work when in a git (or any
                    other CVS-DVCS) subrepo
           Product: Mercurial
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: evolution
          Assignee: bugzi...@mercurial-scm.org
          Reporter: axel.p...@xcg-consulting.fr
                CC: mercurial-de...@mercurial-scm.org,
                    pierre-yves.da...@ens-lyon.org
    Python Version: ---

lets say i have two projects working together. 
project A is my main project, versioned with hg. 
inside project A, i have a dependencies/ direcetory containing project B,
versioned in git. 
when i am at root and run hg log, i have the log from project A. 
then i run cd dependencies/projectB. here, when i do hg log, it still show me
the logs for project A, since B is not a hg project but a git one. 

Proposed - evolution : when working with subrepos of other DVCS, hg can detect
the .git and not run his commands when in a git subrepo. my optimal evolution
would be an error msg (hg can not run inside a git repo, and maybe some
contextual infos on where the actual hg repo is compared to where i am. 

It would make working with multi DVCS projects less a pain. i would get lost
less. 

Thanks you for your feedback, cant wait for the next Hg meetup 

axel prel

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to