![]() ![]()
Revision numbers won't carry across, but you have control by editing the. hgsub necessary to say that nested is a nested repo named nested and located at nested. Foo is a traditional arbitrary name, and the arbitrary contents are the string "test" That has nothing to do with mercurial it's standard shell (unix and dos) for "put the result into a file named X" hgsub # put the string "nested = nested" into a file (in main) named. Hg -R nested add nested/foo # do an add in the nested repo of file fooĮcho nested = nested >. internal repoĮcho test > nested/foo # put the word test into the file foo in the nested repo Use the command line to create and them and you're good to go.Īppreciated). TortiseHG doesn't yet put GUI wrappers around sub-repo creation, but TortiseHG has always done a great job of working with the command line. ![]() You could probably try this stuff out and learn it more quickly than writing up your question took, but I'll bite. #Tortoisehg differences for word documents freeIf you see any mistakes, please let me know (or feel free to edit yourself if you are able). To actually work with the earlier revision in Visual Studio, you will need to do a Synchronize/Push operation to put the older version of the library projects back into the Libraries/ProjectX folder.Īs much as I like TortoiseHG for simple tasks, it's probably better to write batch files for frequently used subrepo operations (especially updating). Updating working directory to an earlier revision – This seems to work pretty normally with TortoiseHG and doesn't seem to require use of any DOS commands. Then you again use the command line to commit the changes (until version 0.10, when you can just use TortoiseHG to commit). Once this is all set up, it gets a little easier.Ĭommitting changes – to commit changes to Foo or Bar, you do a Synchronize/Pull operation for each subrepo to get the subrepos in sync with the latest revisions in the library project repositories. Note: starting with TortoiseHG 0.10 (which is slated for March), you will be able to use the HG Commit shell command to do this, but for now, you have to use the command line. hgsub file should contain entries for both projects, like this: ProjectA = ProjectA Open a DOS console window and enter the following commands (see note below): cd c:\.\Projects\Foo\Solutionįor Bar, the steps are basically the same, except the. hgsub, containing the following: ProjectA = ProjectA Use a text editor to create a file called.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |