I modified and checked-in a bunch of files under my branch. Now I need to get the list of files I modified. Is there any scripts to do so?
相关问题
- How to restrict VOB read access in ClearCase (Wind
- Using Subversion and SourceSafe at the same time?
- subversion merge - “has different repository root
- How do you see the changes for a version in TFS?
- Re-apply a previously reverted commit in SVN
相关文章
- What is the tortoisehg gui equivalent of doing “hg
- How to use Mercurial from Visual Studio 2010?
- SSIS solution on GIT?
- Is it possible to do a “destroy history” in TFS?
- Is there a version control system abstraction for
- Get Android library module version number from ins
- Sprockets::CircularDependencyError application.js
- Why do I see a deleted remote branch?
The find command is the best source. To address the OPs concerns about getting back a "crippled" name with @@ and all of the branch and version information afterwards, the "-nxn" option can be added to not provide this info. This is much easier that doing the element search combined with exec directive to format the output.
Use the following script
Save this in a file named ctlsbr and use this from the vob you want to find out the list of modified files.
Thanks, Amit
The cleartool command
find
should help you find any element (file) with at least one version on a given branch.See find examples or "Additional examples of the cleartool find command" for more examples.
The OP sarath adds:
True, such a command would give you something like (as an example):
To get only the path, you have two solutions:
1/ look for elements (and not versions) with the right branch:
(note the
-ele
replacing the-branch
)That would give:
But you still have the "ugly" '
@@
'.2/ combine the find with an exec directive which describe the element found with
fmt_ccase
format:Multi-line form for readability:
Please note that all "inner" double quotes need to be escaped.
The
%En
will give you the name of the element found.The above command will give all the files modified in particular
branch(myBranch)
.But if you want to find the files modified by particular user in particular date, you would need the following command:
(in one giant line for copy/paste purpose:)
try this command