[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

File args

From: Miha Vitorovic <mvitorovic_at_nil.si>
Date: 2005-07-15 15:54:34 CEST

Hi all,

<rant>
Sometimes I find the lack of proper documentation quite !#$?@!!! Mainly
when it comes to command line switches. For example

- - -
[c:\]svn help mv
move (mv, rename, ren): Move and/or rename something in working copy or
repository.
usage: move SRC DST

  Note: this subcommand is equivalent to a 'copy' and 'delete'.

  SRC and DST can both be working copy (WC) paths or URLs:
    WC -> WC: move and schedule for addition (with history)
    URL -> URL: complete server-side rename.

Valid options:
  -r [--revision] arg : ARG (some commands also take ARG1:ARG2 range)
                             A revision argument can be one of:
                                NUMBER revision number
                                "{" DATE "}" revision at start of the date
                                "HEAD" latest in repository
                                "BASE" base rev of item's working
copy
                                "COMMITTED" last commit at or before BASE
                                "PREV" revision just before
COMMITTED
  -q [--quiet] : print as little as possible
  --force : force operation to run
  -m [--message] arg : specify commit message ARG
  -F [--file] arg : read data from file ARG
  --force-log : force validity of log message source
  --editor-cmd arg : use ARG as external editor
  --encoding arg : treat value as being in charset encoding ARG
  --username arg : specify a username ARG
  --password arg : specify a password ARG
  --no-auth-cache : do not cache authentication tokens
  --non-interactive : do no interactive prompting
  --config-dir arg : read user configuration files from directory
ARG

[c:\]
- - -

Now, I imagine, that with -F option it is possible to move many files in a
single "transaction" (and I want to move files, not folders), but nowhere
it is possible to discover if (1) that is true and (2) what is the syntax
of the file. And I have searched the SVN book as well.
</rant>

Can someone please help?

What I want to achieve in the end is this: Through the copy command in the
good old command interface I have created the folder named
"/repo1/proj1/trunk/version-2.0" - which is stupid. So now I want to move
all the files and subfolders one folder UP to /repo1/proj1/trunk/ without
creating a bunch of new revisions. Is that possible?

Cheers,

---
  Miha Vitorovic
  Inženir v tehničnem področju
  Customer Support Engineer
   NIL Data Communications,  Tivolska cesta 48,  1000 Ljubljana,  Slovenia
   Phone +386 1 4746 500      Fax +386 1 4746 501     http://www.NIL.si
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 15 15:56:18 2005

This is an archived mail posted to the Subversion Users mailing list.