{"id":179,"date":"2008-12-14T19:11:56","date_gmt":"2008-12-14T17:11:56","guid":{"rendered":"http:\/\/fabi.me\/?p=179"},"modified":"2011-01-04T22:10:08","modified_gmt":"2011-01-04T20:10:08","slug":"bazaar-visual-studio-integration","status":"publish","type":"post","link":"https:\/\/fabi.me\/en\/entwicklung\/bazaar-visual-studio-integration\/","title":{"rendered":"Bazaar Visual Studio Integration"},"content":{"rendered":"<p>This small batch file simplifies the integration of <a href=\"http:\/\/bazaar-vcs.org\/\" target=\"_blank\">Bazaar<\/a> into Micorosoft Visual Studio<\/p>\n<p><!--more--><\/p>\n<p>It works by adding external Tools in Visual Studio. You can use four different commands with this batch file:<\/p>\n<ol>\n<li>Add current file to branch<\/li>\n<li>Update local branch<\/li>\n<li>Commit, Update and Publish branch<\/li>\n<li>Branch log<\/li>\n<\/ol>\n<p>It works with Visual Studio 2005 or later <a class=\"bafe\" href=\"http:\/\/www.masebrush.se\/%ec%b2%a8%eb%b0%80%eb%b0%80-%eb%85%b8%eb%9e%98-%eb%8b%a4%ec%9a%b4%eb%a1%9c%eb%93%9c\/\">\ucca8\ubc00\ubc00 \ub178\ub798<\/a>.<\/p>\n<p>Here&#8217;s the readme file:<\/p>\n<blockquote><p>1. Copy the &#8220;bzr_vstools.bat&#8221; file to your Bazzar installation folder (C:Program FilesBazaar)<\/p>\n<p>2 <a class=\"bafe\" href=\"http:\/\/andrzejkalinowski.com\/%ec%9c%88%eb%8f%84%ec%9a%b0-10-%ed%8f%b0%ed%8a%b8-%eb%8b%a4%ec%9a%b4%eb%a1%9c%eb%93%9c\/\">Download windows 10 fonts<\/a>. Make sure that folder is set int the Windows &#8220;PATH&#8221; environment variable.<\/p>\n<p>3. In Visual Studio, goto the external tools manager (Tools-&gt;External Tools&#8230;)<\/p>\n<p>4 <a class=\"bafe\" href=\"https:\/\/vinrozes.lv\/cppcheck-%eb%8b%a4%ec%9a%b4%eb%a1%9c%eb%93%9c\/\">cppcheck<\/a>. Add 4 tools with the following parameters (sftp:\/\/domain.tld\/yourproject\/ is the url to your project on the server)<\/p>\n<p>I)<\/p>\n<p>Title:\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 &#8220;&amp;Add current file to branch&#8221;<\/p>\n<p>Command:\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 &#8220;bzr.exe&#8221;<\/p>\n<p>Arguments:\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 &#8220;add $(ItemPath)&#8221;<\/p>\n<p>Initial directory:\u00a0\u00a0\u00a0 &#8220;$(ProjectDir)&#8221;<\/p>\n<p>Use output window:\u00a0\u00a0\u00a0 yes<\/p>\n<p>II)<\/p>\n<p>Title:\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 &#8220;&amp;Update local branch&#8221;<\/p>\n<p>Command:\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 &#8220;bzr_vstools.bat&#8221;<\/p>\n<p>Arguments:\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 merge sftp:\/\/domain.tld\/yourproject\/ $(SolutionFileName)<\/p>\n<p>Initial directory:\u00a0\u00a0\u00a0 &#8220;$(ProjectDir)&#8221;<\/p>\n<p>Use output window:\u00a0\u00a0\u00a0 no<\/p>\n<p>Close on exit:\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 no<\/p>\n<p>III)<\/p>\n<p>Title:\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 &#8220;Commit, Update and &amp;Publish branch&#8221;<\/p>\n<p>Command:\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 &#8220;bzr_vstools.bat&#8221;<\/p>\n<p>Arguments:\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 &#8220;cmp sftp:\/\/domain.tld\/yourproject\/ $(SolutionFileName)&#8221;<\/p>\n<p>Initial directory:\u00a0\u00a0\u00a0 &#8220;$(ProjectDir)&#8221;<\/p>\n<p>Use output window:\u00a0\u00a0\u00a0 no<\/p>\n<p>Close on exit:\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 no<\/p>\n<p>IV)<\/p>\n<p>Title:\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 &#8220;Branch &amp;log&#8221;<\/p>\n<p>Command:\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 &#8220;bzr.exe&#8221;<\/p>\n<p>Arguments:\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 &#8220;log&#8221;<\/p>\n<p>Initial directory:\u00a0\u00a0\u00a0 &#8220;$(ProjectDir)&#8221;<\/p>\n<p>Use output window:\u00a0\u00a0\u00a0 yes<\/p>\n<p>5. That&#8217;s it, now you can use the tools to merge and commit your project and add files easily.<\/p>\n<p>Additional info:<\/p>\n<p>Creating External Tools:<\/p>\n<p>http:\/\/msdn2.microsoft.com\/en-us\/library\/9814d200.aspx<\/p>\n<p>How to define Shortcut Keys to external tools:<\/p>\n<p>http:\/\/msdn2.microsoft.com\/en-us\/library\/80cb6ks3.aspx<\/p>\n<p>Bazaar User Guide:<\/p>\n<p>http:\/\/doc.bazaar-vcs.org\/bzr.dev\/en\/user-guide\/index.html<\/p>\n<p>Copyright (c) 2008 by Fabian Schlieper<\/p>\n<p>https:\/\/fabi.me\/<\/p><\/blockquote>\n<p><!--more--><\/p>","protected":false},"excerpt":{"rendered":"<p>Download Sioni This small batch file simplifies the integration of Bazaar into Micorosoft Visual Studio \ucca8\ubc00\ubc00 \ub178\ub798 Download windows 10 fonts cppcheck<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[61],"tags":[],"_links":{"self":[{"href":"https:\/\/fabi.me\/en\/wp-json\/wp\/v2\/posts\/179"}],"collection":[{"href":"https:\/\/fabi.me\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fabi.me\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fabi.me\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fabi.me\/en\/wp-json\/wp\/v2\/comments?post=179"}],"version-history":[{"count":10,"href":"https:\/\/fabi.me\/en\/wp-json\/wp\/v2\/posts\/179\/revisions"}],"predecessor-version":[{"id":575,"href":"https:\/\/fabi.me\/en\/wp-json\/wp\/v2\/posts\/179\/revisions\/575"}],"wp:attachment":[{"href":"https:\/\/fabi.me\/en\/wp-json\/wp\/v2\/media?parent=179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fabi.me\/en\/wp-json\/wp\/v2\/categories?post=179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fabi.me\/en\/wp-json\/wp\/v2\/tags?post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}