| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

「Visual Studio Ankhsvn (Subversion Plugin)」の版間の差分

提供: MyMemoWiki
ナビゲーションに移動 検索に移動
(ページの作成:「==Visual Studio Ankhsvn (Subversion Plugin)== [Visual Studio][subversion][C#][VC++] *http://ankhsvn.open.collab.net/ ==概要== *Visual Studio 用 Subversion ソー…」)
 
 
(同じ利用者による、間の3版が非表示)
1行目: 1行目:
 
==Visual Studio Ankhsvn (Subversion Plugin)==
 
==Visual Studio Ankhsvn (Subversion Plugin)==
[Visual Studio][subversion][C#][VC++]
+
[[Visual Studio]] | [[subversion]] | [[C Sharp]] | [[VC++]] |
 
*http://ankhsvn.open.collab.net/
 
*http://ankhsvn.open.collab.net/
 
==概要==
 
==概要==
*Visual Studio 用 Subversion ソース管理プロバイダ
+
*[[Visual Studio]] 用 Subversion ソース管理プロバイダ
*Visual Studio IDEから直接ソース管理操作を行うことが可能。
+
*[[Visual Studio]] IDEから直接ソース管理操作を行うことが可能。
  
 
==インストール(ver 2.1)==
 
==インストール(ver 2.1)==
10行目: 10行目:
  
 
[[File:1312_vs_svn01.jpg]]
 
[[File:1312_vs_svn01.jpg]]
==Visual Studioから使用する==
+
==[[Visual Studio]]から使用する==
 
===既存のソリューションをAnkhSVN2.1で利用する===
 
===既存のソリューションをAnkhSVN2.1で利用する===
 
====ソリューションを開く====
 
====ソリューションを開く====
*最初に使用する場合、ツール - オプション から、ソース管理プラグインが、AnkhSVNに設定されていることを確認する。
+
*最初に使用する場合、ツール - オプション から、ソース管理[[プラグイン]]が、AnkhSVNに設定されていることを確認する。
 
[[File:1313_vs_svn02.jpg]]
 
[[File:1313_vs_svn02.jpg]]
  
36行目: 36行目:
 
====ファイル-開く-Subversion Project====
 
====ファイル-開く-Subversion Project====
 
[[File:1319_vs_svn08.jpg]]
 
[[File:1319_vs_svn08.jpg]]
====URLをドロップダウンから選択するか、地球アイコンをクリックして入力する====
+
====U[[R]]Lをドロップダウンから選択するか、地球アイコンをクリックして入力する====
 
*ソリューションを選択し、OK
 
*ソリューションを選択し、OK
 
[[File:1320_vs_svn09.jpg]]
 
[[File:1320_vs_svn09.jpg]]
 
====ローカルでプロジェクトを格納するフォルダを選択し、OK====
 
====ローカルでプロジェクトを格納するフォルダを選択し、OK====
Repository Explorer経由で自動的にソリューションが開く
+
[[R]]epository Explorer経由で自動的にソリューションが開く
 
[[File:1321_vs_svn10.jpg]]
 
[[File:1321_vs_svn10.jpg]]
====表示-Repository Explorer====
+
====表示-[[R]]epository Explorer====
 
[[File:1322_vs_svn11.jpg]]
 
[[File:1322_vs_svn11.jpg]]
 
*ツールウィンドウが開く
 
*ツールウィンドウが開く
 
[[File:1323_vs_svn12.jpg]]
 
[[File:1323_vs_svn12.jpg]]
  
{{category TODO}}
+
[[Category:TODO]]
 
When the tool window appears, choose the Plus-Folder icon to add your repository path and click OK.
 
When the tool window appears, choose the Plus-Folder icon to add your repository path and click OK.
 
Browse to the solution you would like to check out, right-click and choose Checkout Folder.
 
Browse to the solution you would like to check out, right-click and choose Checkout Folder.
 
Browse to the location where you keep your working copy and press OK (you may need to create a directory first).
 
Browse to the location where you keep your working copy and press OK (you may need to create a directory first).
Open the solution inside Visual Studio. You will be asked whether to enable AnkhSVN for this solution, choose Yes.
+
Open the solution inside [[Visual Studio]]. You will be asked whether to enable AnkhSVN for this solution, choose Yes.
 
Starting a new repository
 
Starting a new repository
 
Create a Subversion repository either by using the SVN command line tools or TortoiseSVN. The command line syntax is:
 
Create a Subversion repository either by using the SVN command line tools or TortoiseSVN. The command line syntax is:
 
svnadmin create C:\myrepos
 
svnadmin create C:\myrepos
 
Open the solution you wish to check-in.
 
Open the solution you wish to check-in.
Choose View -> Solution Explorer from the Visual Studio menu.
+
Choose View -> Solution Explorer from the [[Visual Studio]] menu.
From the right click menu select Ankh -> Add solution to Subversion repository.
+
From the right click menu select Ankh -> Add solution to Subversion repository.
Add the URL to your Subversion repository, in this example it is "file:///c:/myrepos." Note that you may want to check the box to create a new directory if you want to "import" something directly into an existing directory (specified by the URL) or a new subdirectory.
+
Add the U[[R]]L to your Subversion repository, in this example it is "file:///c:/myrepos." Note that you may want to check the box to create a new directory if you want to "import" something directly into an existing directory (specified by the U[[R]]L) or a new subdirectory.
 
Once complete, you should now see green check-marks alongside items in the Solution Explorer window.
 
Once complete, you should now see green check-marks alongside items in the Solution Explorer window.

2020年2月16日 (日) 04:33時点における最新版

Visual Studio Ankhsvn (Subversion Plugin)

Visual Studio | subversion | C Sharp | VC++ |

概要

  • Visual Studio 用 Subversion ソース管理プロバイダ
  • Visual Studio IDEから直接ソース管理操作を行うことが可能。

インストール(ver 2.1)

  • AnkhSVNをダウンロードし、起動する(古いバージョンは自動でアップデートされる)

1312 vs svn01.jpg

Visual Studioから使用する

既存のソリューションをAnkhSVN2.1で利用する

ソリューションを開く

  • 最初に使用する場合、ツール - オプション から、ソース管理プラグインが、AnkhSVNに設定されていることを確認する。

1313 vs svn02.jpg

ソリューションがAnkhSVNに接続されているか確認する

  • ソリューションファイルを選択しコンテキストメニューを開く
  • Add to Subversion と表示されたら、まだ接続されていない

1314 vs svn03.jpg

ソリューションを接続

  • Add to Subversion を選択し、接続情報を入力、作業コピーをどこに置くか確認

1315 vs svn04.jpg

  • ユーザーIDとパスワードを設定

1316 vs svn05.jpg

  • ソース管理メニューが現れる

1317 vs svn06.jpg

1318 vs svn07.jpg

プロジェクトをCommitする

1324 vs svn13.jpg

ソリューションをSubversionからチェックアウトする

Using Open from Subversion

ファイル-開く-Subversion Project

1319 vs svn08.jpg

URLをドロップダウンから選択するか、地球アイコンをクリックして入力する

  • ソリューションを選択し、OK

1320 vs svn09.jpg

ローカルでプロジェクトを格納するフォルダを選択し、OK

Repository Explorer経由で自動的にソリューションが開く 1321 vs svn10.jpg

表示-Repository Explorer

1322 vs svn11.jpg

  • ツールウィンドウが開く

1323 vs svn12.jpg When the tool window appears, choose the Plus-Folder icon to add your repository path and click OK. Browse to the solution you would like to check out, right-click and choose Checkout Folder. Browse to the location where you keep your working copy and press OK (you may need to create a directory first). Open the solution inside Visual Studio. You will be asked whether to enable AnkhSVN for this solution, choose Yes. Starting a new repository Create a Subversion repository either by using the SVN command line tools or TortoiseSVN. The command line syntax is: svnadmin create C:\myrepos Open the solution you wish to check-in. Choose View -> Solution Explorer from the Visual Studio menu. From the right click menu select Ankh -> Add solution to Subversion repository. Add the URL to your Subversion repository, in this example it is "file:///c:/myrepos." Note that you may want to check the box to create a new directory if you want to "import" something directly into an existing directory (specified by the URL) or a new subdirectory. Once complete, you should now see green check-marks alongside items in the Solution Explorer window.