Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2013 05:29:15 +0400
From:      Peter Vereshagin <peter@vereshagin.org>
To:        xyne@archlinux.ca
Cc:        glarkin@freebsd.org, questions@freebsd.org
Subject:   'svn-export' incrementing?
Message-ID:  <20130123012915.GA16404@external.screwed.box>

next in thread | raw e-mail | index | archive | help
Hello.

I use the 'svn-export this way and expect it will try to update the
'work-tree' next time I run it:

  $ python3 svn-export-2013.1/svn-export http://svn.gna.org/svn/nasmail/trunk nasmail
  Exporting new repository.
  Exported revision 1546
  [portato@screwed /tmp]$ ls -a nasmail
  .               decode          plugin_pack     tests           utilities
  ..              nasmail         plugins         translations
  [portato@screwed /tmp]$ python3 svn-export-2013.1/svn-export http://svn.gna.org/svn/nasmail/trunk nasmail
  Exporting new repository.
  svn: E155000: Destination directory exists; please remove the directory or use --force to overwrite
  svn: E155000: 'nasmail' already exists
  error: Command '['svn', 'export', '-r', 'HEAD', 'http://svn.gna.org/svn/nasmail/trunk', 'nasmail']' returned non-zero exit status 1

I believe there is something wrong in the way I use the 'svn-export'.
Otherwise it's a no problem for me to patch for '--force'.

How can I update the already created 'work tree' with 'svn update'? I think
the correct answer is a good idea for 'Synopsis' docs section.

Thank you.

--
Peter Vereshagin <peter@vereshagin.org> (http://vereshagin.org) pgp: 1754B9C1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130123012915.GA16404>