tf4mono - Team Foundation for Mono

Опубліковані 10 June 07 10:20 AM

Проект сфокусирован на SCM поддержке. Включает в себя полную версию TF клиента (Team Foundation Source Control Command-Line - http://msdn2.microsoft.com/en-us/library/cc31bk2e(vs.80).aspx), кроме этого включает в себя некоторые команды TF Power Tool.

add <filenames>

Pend an add on a file or files to the repository. To commit, you must issue a checkin command.

changeset <changeset id>

Show changeset details: committer, date, comment, and files changed. The changeset id is just an integer - no "C" prefix is required as in the diff command below.

checkin [ <filenames or path> /recursive ]

Checkin pending changes in workspace. With no arguments, this command will checkin all files in your workspace, not just all files underneath your current working directory.

checkout <filenames>

Checkout a file for editing. Command alias: edit.

configure [ <key> | <key> <value> ]

With no arguments, displays current configuration. With 1 argument, deletes the configuration setting <key>. With 2 arguments, sets the value of <key> to <value>. See Configuration section below for more details on valid settings.

delete <filenames> [ /recursive ]

Pend a delete against a file or files from the repository. To commit, you must issue a checkin command.

diff <filename or path or changeset id> [ /old ]

Show pending changes as a diff. With /old, shows changes from current workspace to latest on the server as a diff. With a changeset id, like C12278, the command will show you a diff of the files changed in that changeset.

dir <server path>

List files in specified server path. A way to explore the folders on the server without setting up a workspace and downloading the files.

get [ <path> ]

Update local repository with latest versions from the server. Think "cvs/svn update". Note: Files are initially set to read-only, until checked out with the checkout command.

history <filename | path > [ /format:detailed /recursive ]

Display changelog history for specified file. If you are looking for a git-log/svn log type function use this and add /recursive.

labels [ <labelname> /owner:<ownername> /format:detailed ]

Displays labels or tags. Can optionally filter by <labelname> and <ownername>.

ls-files <path> [ /deleted | /modified | /old | /unknown ]

Shows known, deleted, modified, old, or unknown files under the given path. With no options, ls-files shows known files.

online <path>

Finds all writable files and marks them as pending changes on the server. It also finds all unknown files and marks them as pending adds, missing files are marked as pending deletes. A great command to use if you apply a patch to a tfs-managed tree and want to pend the changes to the server for checkin.

perm <filename>

Show server permissions on a file. Command alias: permission.

properties <filenames> [ /recursive ]

Show detailed properties for each filename including server locks, encoding, last modified date, changeset id, and whether the file has a newer version on the server.

rename <oldname> <newname>

Rename a file or files in the repository.

status [<filenames> /recursive ]

Show status of all pending changes in local workspace. Optional paths/filenames may be added to narrow the resulting output.

treeclean

Delete all files not under version control. Use /preview to see what would be deleted.

undo <filenames> [ /recursive ]

Undo pending changes.

workspace [ /new | /delete]

Manage workspaces.

workspaces [ /format:detailed ]

List workspaces in server repository. Use /format:detailed for additional information.

workfold [ <server path> <local path> | /unmap <local path> ]

Manage working folders. With no arguments, print current working folder mappings. With a server path and local path, creates a new working folder mapping.

view <filenames | server paths>

Displays the latest version of the specified file or files.

 

Синтаксис:

tf [/server:<server name or ip address>] [/login:<login credentials>] <command> [<command arguments>]

Выкачать можно здесь - http://code.google.com/p/tf4mono/ 

Всем успехов в нелегком девелоперском труде.

Помічено як: ,

Коментарі

Немає коментарів
Анонімні коментарі деактивовані. Увійдіть або Зареєструйтесь щоб мати доступ до ресурсів Спільноти.

About denis pasechnik

Родился в Славном граде Фрунзе в 1973 году - ныне Бишкек (Киргизская ССР - теперь КЫРГЫЗСТАН), закончил Харьковский Авиационный Институт (кр.дип) ,закончил аспирантуру. Евангелист технологий компании Microsoft и участник двух волонтерских программ MS Regional Director(серебрянный и бронзовый номинант 2006 года) и MVP (Team Systems), MCT, сертифицированный проектный менеджер IPMA C, сертифицированный coach.