Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #780 (closed defect: fixed)

Opened 3 years ago

Last modified 22 months ago

a directory's depth is ignored by update

Reported by: michael.hufer@… Owned by: alwin
Priority: normal Milestone: not applicable
Component: All Version: 1.5.x
Severity: tweak Keywords: update depth
Cc:

Description

In a big project one does often not want to checkout every sub-directory. So the project is checked out with e.g. 'svn co --depth=immediates <myProject>' followed by a update changing the depth of some sub-folders in the project e.g. in a project with a include, libsrc, guisrc and share folder one might only want to work on the library part and thus only fetch the files needed to build it using e.g. 'svn up --set-depth=infinity libsrc include' to get all files/dirs in 'libsrc' and 'include' but not those in 'guisrc' and 'share' which are not relevant to build the lib. A subsequent 'svn up' does not change the depth of 'guisrc' and 'share' in this example and only updates 'libsrc' and 'include'.

Unfortunately kdesv does not obey the depth of a folder in the working copy (set during checkout) when updating the base folder and checks everything out with the equivalent of 'svn up --set-depth=infinity'

It seems the default depth for svn_client_update3() is always set to 'svn_depth_infinity' when kdesvn updates. This is IMHO wrong the default should be 'svn_depth_unknown' which - according to the svn API docs - will result in the expected behaviour (i.e. the same default as the svn commandline tool) and this should only be overwritten by a user setting.

Attachments

Change History

comment:1 Changed 3 years ago by alwin

  • Status changed from new to assigned

You're right.

comment:2 Changed 3 years ago by alwin

  • Status changed from assigned to closed
  • Resolution set to fixed

fixed in revision r2073

comment:3 Changed 22 months ago by RoriOrexWremi

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.

Ihr Browser versucht gerade eine Seite aus dem sogenannten Internet auszudrucken. Das Internet ist ein weltweites Netzwerk von Computern, das den Menschen ganz neue Möglichkeiten der Kommunikation bietet.

Da Politiker im Regelfall von neuen Dingen nichts verstehen, halten wir es für notwendig, sie davor zu schützen. Dies ist im beidseitigen Interesse, da unnötige Angstzustände bei Ihnen verhindert werden, ebenso wie es uns vor profilierungs- und machtsüchtigen Politikern schützt.

Sollten Sie der Meinung sein, dass Sie diese Internetseite dennoch sehen sollten, so können Sie jederzeit durch normalen Gebrauch eines Internetbrowsers darauf zugreifen. Dazu sind aber minimale Computerkenntnisse erforderlich. Sollten Sie diese nicht haben, vergessen Sie einfach dieses Internet und lassen uns in Ruhe.

Die Umgehung dieser Ausdrucksperre ist nach §95a UrhG verboten.

Mehr Informationen unter www.politiker-stopp.de.