[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Issue 135 - need automate get_corresponding_path for wo
[Monotone-devel] Issue 135 - need automate get_corresponding_path for workspace rename (monotone)
Thu, 20 Jan 2011 10:12:01 GMT
A new issue has been created and assigned
135 - need automate get_corresponding_path for workspace rename
Reported by: Stephen Leake
Steps to reproduce the problem:
1. in a workspace, use 'mtn mv' to rename a file, but don't commit
2. mtn automate get_corresponding_path <??workspace> <new file name> <base rev>
want the new name of the file in the workspace, but there is no way to get that
Output of `mtn version --full`: 1.0dev
Actually, there is a way; do 'mtn automate inventory', and look for the file.
But that's cumbersome.
The current syntax of the command is:
mtn automate get_corresponding_path rev1 file rev2
'file' is the filename in rev1; the result is the filename in rev2.
In general, we need to allow either rev1 or rev2 to be the workspace (Emacs DVC
We could introduce two new commands:
'mtn automate get_base_rev_path <file>'
<file> is current workspace name; return name in workspace base revision.
'mtn automate get_workspace_path <file>'
<file> is file name in workspace base rev; return name in workspace.
|[Prev in Thread]
||[Next in Thread]|
- [Monotone-devel] Issue 135 - need automate get_corresponding_path for workspace rename (monotone),