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

Re: Anyone know how to put a file directly into a repository over command line - simulate checkin

From: John Peacock <jpeacock_at_rowman.com>
Date: 2007-08-17 13:11:22 CEST

Ryan Schmidt wrote:
> I haven't used it, and I'm not sufficiently versed in the Subversion
> APIs to tell from the source code whether this is doing a
> delete-then-add or whether it's updating the existing file. You could
> try it out and see what the log looks like afterward.

It doesn't do a delete-then-add, but it also doesn't even check the contents of
the existing rev in the repository. Technically, it will store the new revision
as a delta against the previous one, but there is no requirement that the files
be in any way similar. That's what makes it so dangers; it just stomps on
whatever is in the repository at that path (so you could easily overwrite the
wrong file).

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Blvd
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 17 13:09:22 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.