svn log -r 1:HEAD --limit 1 --stop-on-copyWith --limit we can limit the number of results we get from the query, in this case we need only one.
When creating a branch we copy from another SVN location, thus --stop-on-copy comes handy here.
svn log -r 1:HEAD --limit 1 --stop-on-copyWith --limit we can limit the number of results we get from the query, in this case we need only one.
# svn co --depth empty
# pushd
(Assume: foo is a folder in SVN. With the following command you will not get any leaf folders or files.)
# svn up --depth empty foo
(Assume: bar is a sub-folder in foo. With this you will get all from foo/bar)
#svn up foo/bar
(With the following command, you get the only the latest copies of the checked out folders from SVN)
# popd
# svn up
(You can also perform a SVN commit at this level)
FOR %%A IN (%*) DO (
rem Now your batch file handles %%A instead of %1
)
:my_function
rem skip the first arag
shift
set args=%1
:my_loop
shift
if [%1]==[] goto my_end_loop
set args=%args% %1
goto :my_loop
:my_end_loop
rem Do somthing with the args
goto :EOF
call :my_function %*