This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kdesvn - howto commit recursive

Tags: None
(comma "," separated)
pospiech
Registered Member
Posts
17
Karma
0

kdesvn - howto commit recursive

Sat Aug 08, 2009 5:13 pm
I am used to tortoiseSVN on windows, and never used subversion on commandline. I try to use kdesvn, but I have many difficulties to use it.

Now I want to commit all work. With tortoiseSVN I would call commit on the lowest directory and it would show me _all_ files recursively.
With kdesvn I only get the current contents of the directory.

Is it possible to commit the whole tree with kdesvn?


pospiech, proud to be a member of KDE forums since 2008-Oct.
Talkless
Registered Member
Posts
2
Karma
0

Re: kdesvn - howto commit recursive

Thu Mar 12, 2015 7:35 am
I have same problem with KDESVN 1.5.5 in Debian Wheezy.
I wanted to commit repository after renaming directory:

Code: Select all
Commit failed (details follow):
Cannot delete the directory '/home/vincas/code/somepath/renamed_folder' in a non-recursive commit because it has children


Is there somewhere option to enable --depth=infinite for commits?
airdrik
Registered Member
Posts
1854
Karma
5
OS

Re: kdesvn - howto commit recursive

Thu Mar 12, 2015 3:07 pm
From the kdesvn help documentation under 2. Using kdesvn -> Beginning with subversion and kdesvn -> Commiting local changes:
"This operation is always recursive, means, if selecting a folder kdesvn always send all changed items below it" (it looks like the docs could use some cleanup for grammar, but that's neither here nor there).

You probably need to make sure that you are committing the top-level directory which contains both the source and destination of the move so that the whole move can be recorded in the same commit. SVN doesn't keep track of moves, only that a new file may have been copied from another location.
When you commit from the top-level directory, kdesvn's commit dialog should include both the deletion of the files from the source directory and the addition of the files to the destination directory. If it doesn't then you probably need to explicitly add and/or delete the missing pieces (or revert the move and redo it from within kdesvn so it can make sure everything is marked/recorded properly).


airdrik, proud to be a member of KDE forums since 2008-Dec.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell