Manuals

Browser Repositori

Kadang-kadang Anda perlu untuk bekerja secara langsung pada repositori, tanpa copy pekerjaan. Itulah kegunaan Browser Repositori. Seperti halnya explorer dan lapisan ikon membolehkan Anda untuk melihat copy pekerjaan Anda, agar Browser Repositori membolehkan Anda untuk melihat struktur dan status repositori.

Gambar 4.66. Browser Repositori

Browser Repositori


Dengan Browser Repositori Anda bisa menjalankan perintah seperti salin, pindah, ganti nama, ... secara langsung pada repositori.

The repository browser looks very similar to the Windows explorer, except that it is showing the content of the repository at a particular revision rather than files on your computer. In the left pane you can see a directory tree, and in the right pane are the contents of the selected directory. At the top of the Repository Browser Window you can enter the URL of the repository and the revision you want to browse.

Folders included with the svn:externals property are also shown in the repository browser. Those folders are shown with a small arrow on them to indicate that they are not part of the repository structure, just links.

Just like Windows explorer, you can click on the column headings in the right pane if you want to set the sort order. And as in explorer there are context menus available in both panes.

The context menu for a file allows you to:

The context menu for a folder allows you to:

If you select two folders in the right pane, you can view the differences either as a unified-diff, or as a list of files which can be visually diffed using the default diff tool.

If you select multiple folders in the right pane, you can checkout all of them at once into a common parent folder.

Jika Anda memilih 2 tag yang dicopy dari akar yang sama (biasanya /trunk/), Anda bisa menggunakan Menu KonteksTampilkan Log... untuk melihat daftar revisi diantara dua titik tag.

External items (referenced using svn:externals are also shown in the repository browser, and you can even drill down into the folder contents. External items are marked with a red arrow over the item.

You can use F5 to refresh the view as usual. This will refresh everything which is currently displayed. If you want to pre-fetch or refresh the information for nodes which have not been opened yet, use Ctrl-F5. After that, expanding any node will happen instantly without a network delay while the information is fetched.

You can also use the repository browser for drag-and-drop operations. If you drag a folder from explorer into the repo-browser, it will be imported into the repository. Note that if you drag multiple items, they will be imported in separate commits.

If you want to move an item within the repository, just left drag it to the new location. If you want to create a copy rather than moving the item, Ctrl-left drag instead. When copying, the cursor has a plus symbol on it, just as it does in Explorer.

If you want to copy/move a file or folder to another location and also give it a new name at the same time, you can right drag or Ctrl-right drag the item instead of using left drag. In that case, a rename dialog is shown where you can enter a new name for the file or folder.

Kapan saja Anda membuat perubahan dalam repositori menggunakan salah satu dari metode ini, Anda akan disodorkan dengan dialog entri pesan log. Jika Anda men-drag sesuatu karena kesalahan, ini juga kesempatan Anda untuk membatalkan tindakan.

Sometimes when you try to open a path you will get an error message in place of the item details. This might happen if you specified an invalid URL, or if you don't have access permission, or if there is some other server problem. If you need to copy this message to include it in an email, just right click on it and use Context MenuCopy error message to clipboard, or simply use Ctrl+C.

Bookmarked urls/repositories are shown below the current repository folders in the left tree view. You can add entries there by right clicking on any file or folder and select Context MenuAdd to Bookmarks. Clicking on a bookmark will browse to that repository and file/folder.

TortoiseSVN homepage