Modify

Ticket #253 (new defect)

Opened 6 years ago

Last modified 4 years ago

moap cl ci fails to commit removed directory

Reported by: philn Owned by: thomas
Priority: major Milestone: 0.2.7
Component: moap Version: TRUNK
Keywords: Cc: philippe@…

Description

I removed a directory from svn::

 svn rm elisa/extern/upnp

I updated my ChangeLog::

 moap cl prep

In the Changelog, there are entries for the removed directory. I tried to commit::

 MOAP_DEBUG=5 LANG=C moap cl ci

 DEBUG [25577] "checkin"                        checkin           Jun 11 12:48:08      changelog checkin: path /home/phil/devel/elisa/branches/rewrite-1 (moap/command/cl.py:176)
 DEBUG [25577]                                  vcs               Jun 11 12:48:08      detecting VCS in /home/phil/devel/elisa/branches/rewrite-1 (moap/vcs/vcs.py:30)
 DEBUG [25577]                                  vcs               Jun 11 12:48:08      trying vcs modules ['darcs', 'bzr', 'cvs', 'svn', 'git'] (moap/vcs/vcs.py:34)
 DEBUG [25577]                                  darcs             Jun 11 12:48:08      Did not find _darcs directory under /home/phil/devel/elisa/branches/rewrite-1 (moap/vcs/darcs.py:24)
 DEBUG [25577]                                  vcs               Jun 11 12:48:08      did not find darcs (moap/vcs/vcs.py:55)
 DEBUG [25577]                                  vcs               Jun 11 12:48:08      did not find bzr (moap/vcs/vcs.py:55)
 DEBUG [25577]                                  vcs               Jun 11 12:48:08      did not find cvs (moap/vcs/vcs.py:55)
 DEBUG [25577]                                  vcs               Jun 11 12:48:08      detected VCS svn (moap/vcs/vcs.py:52)
 DEBUG [25577]                                  ChangeLog         Jun 11 12:48:08      770 entries in /home/phil/devel/elisa/branches/rewrite-1/ChangeLog (moap/command/cl.py:148)
 svn: Cannot non-recursively commit a directory deletion

Removing removed directory from Changelog, the commit succeeded

Attachments

Change History

comment:1 Changed 6 years ago by thomas

  • Milestone 0.2.5 deleted

comment:2 Changed 6 years ago by thomas

Philippe,

Any chance for a test case or patch ?

comment:3 Changed 5 years ago by thomas

  • Milestone set to 0.2.7

I looked into this a little; SVN.commit uses svn commit --non-recursive.

I guess I'd have to special-case deleted directories in there.

This definately needs a test case first, so postponing.

comment:4 Changed 4 years ago by anonymous

svn rm elisa/extern/upnp

I updated my ChangeLog::

moap cl prep

In the Changelog, there are entries for the removed directory. I tried to commit::

MOAP_DEBUG=5 LANG=C moap cl ci

DEBUG [25577] "checkin" checkin Jun 11 12:48:08 changelog checkin: path /home/phil/devel/elisa/branches/rewrite-1 (moap/command/cl.py:176) DEBUG [25577] vcs Jun 11 12:48:08 detecting VCS in /home/phil/devel/elisa/branches/rewrite-1 (moap/vcs/vcs.py:30) DEBUG [25577] vcs Jun 11 12:48:08 trying vcs modules ['darcs', 'bzr', 'cvs', 'svn', 'git'] (moap/vcs/vcs.py:34) DEBUG [25577] darcs Jun 11 12:48:08 Did not find _darcs directory under /home/phil/devel/elisa/branches/rewrite-1 (moap/vcs/darcs.py:24) DEBUG [25577] vcs Jun 11 12:48:08 did not find darcs (moap/vcs/vcs.py:55) DEBUG [25577] vcs Jun 11 12:48:08 did not find bzr (moap/vcs/vcs.py:55) DEBUG [25577] vcs Jun 11 12:48:08 did not find cvs (moap/vcs/vcs.py:55) DEBUG [25577] vcs Jun 11 12:48:08 detected VCS svn (moap/vcs/vcs.py:52) DEBUG [25577] ChangeLog? Jun 11 12:48:08 770 entries in /home/phil/devel/elisa/branches/rewrite-1/ChangeLog (moap/command/cl.py:148) svn: Cannot non-recursively commit a directory deletion

Removing removed directory from Changelog, the commit succeeded I'm closing it according to the last comment.
----------
 nike air yeezy

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from thomas. Next status will be 'new'
The owner will be changed from thomas to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.