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

Fwd: [Issue 2149] svn update and commit with the -N flag have strange results

From: Paul Servant <pservant_at_refractions.net>
Date: 2004-12-21 01:21:36 CET

I've wrote a wrapper script to the svn which basically filters the commands and
if a commit or update is given the -N flag is inserted into the list of
options. Howerver when I perform a commit with the -N flag something strange
happens. I've laid out an example below to describe what I am going through.

/usr/local/svn/test [repository]
/ex1 [working copy 1]
/ex2 [working copy 2]

in test the following folders exist
test1 test2 test3

in ex1
cd test1
touch a b c
cd ..
mkdir test4
svn add *
[adds all the above]
svn commit -N
[commits test4 and excludes test1/a test1/b test1/c as expected]

in ex2
svn update -N
[updates the revision number but doesn't pull in the test4 directory]
svn list

svn list shows the folder there but svn update never pulls that folder from the

Is this a bug?

I'm using the -N flag to prevent users from accidentally performing global
commits and updates in certain situations. I want users to perform updates on
the current folders which includes retreiving newly created directories.

Also...is there an easy way of adding a file to the repository from a
development area and then retrieving a copy of that file in another area such

/ex1 [working copy 1]
/ex2 [working copy 2]

I create the file foo.php in /ex1 and I've also modified a few other files in
the same directory. I would like to update foo.php in ex2 however the file
hasn't been created yet. The only way I can retrieve a copy of that file is to
perform an update on the directy instead of the file. However I don't want to
update other files immediately. Any suggestions?


----- Forwarded message from kfogel@tigris.org -----
    Date: 15 Dec 2004 19:45:41 -0000
    From: kfogel@tigris.org
Reply-To: kfogel@tigris.org
 Subject: [Issue 2149] svn update and commit with the -N flag have strange
      To: pservant@tigris.org


User kfogel changed the following:

                  What |Old value |New value
                    Status|NEW |RESOLVED
                Resolution| |INVALID

------- Additional comments from kfogel@tigris.org Wed Dec 15 11:45:41 -0800
2004 -------
I'm not positive this is a bug. Could you please discuss it on the
dev@subversion.tigris.org list first? (Specifying dev@ not users@ because I
think people at dev@ will be interested -- tell them I sent you :-) ).

See http://subversion.tigris.org/project_issues.html for more about why we use
the mailing lists first.


----- End forwarded message -----

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 21 18:01:09 2004

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

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