You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Julian Foad <ju...@foad.me.uk> on 2018/05/21 11:33:22 UTC

Shelve & checkpoint - JavaHL bindings

Julian Foad wrote:
> Thomas Singer wrote:
> > Is it planned to add support for shelve & checkpoint for the JavaHL 
> > interface, too?
> 
> It is not planned, but it would be a good thing to do. Could you help?

Hi Thomas. Can you help me understand how you want to use JavaHL bindings for shelving? Right now I am making quite big changes in how shelving works, including API changes. Are you interested in using only the first stable released version (1.10), or to follow the progress in trunk and maybe give me some feedback to improve it, or are you waiting for a future stable version (maybe 1.11)? Then I can understand what I need to do.

- Julian

Re: Shelve & checkpoint - JavaHL bindings

Posted by Julian Foad <ju...@foad.me.uk>.
(Re-adding CC: dev@)

Thomas Singer wrote on 2018-06-06:
> We would appreciate to add the shelving/checkpointing feature to 
> SmartSVN. From what I have understood it seems to be something like 
> Git's stash feature, correct?

I have recently been writing more about it in the Wiki. All you want to know should be written here:
  https://cwiki.apache.org/confluence/display/SVN/Shelving+in+Svn-trunk
and in the other linked pages.

> Does it always leave a clean working copy 
> or is it also possible to just make some kind of "backup" of the 
> location changes?

Both are possible.

> Does it work for binary files, too?

Shelving does support binary files now, in trunk. Shelving version 1 in Svn 1.10 does not support binary files.

> Does it work for all/selected modified files
> or even for untracked/missing/added/removed/moved/copied files?

Currently (in trunk) it works for all/selected modified/added/removed/replaced files, with their properties; not untracked/missing/moved/copied, and not directories.

I would like to make JavaHL bindings so you can start to use shelving. I will have a go and let you know how it goes.

- Julian