dsoprea / PySvn

Lightweight Subversion library for Python.
GNU General Public License v2.0
217 stars 145 forks source link

Add possibility to return list of related files when running svn commands #172

Open IbrahimBond opened 3 years ago

IbrahimBond commented 3 years ago

Currently, running add, update, or commit just calls run_external_command and nothing is returned by the functions.

In opposition, when running command svn update (respectively svn add or svn commit), svn returns the list of files updated (resp. added or committed).

It could be beneficial to have the related functions of PySVN return these list of files.

jfthuong commented 3 years ago

What do you mean?

If you mean by how to get svn info on a given file (see http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.info.html), you can use the command info to do so

IbrahimBond commented 3 years ago

i mean when i run the svn update command nothing is returned.

jfthuong commented 3 years ago

I see, this is a valid point @IbrahimBond but the title is not very clear and you have not put any description.

May I suggest: Title: "Add possibility to return list of related files when running svn commands"

Description:


Currently, running add, update, or commit just calls run_external_command and nothing is returned by the functions.

In opposition, when running command svn update (respectively svn add or svn commit), svn returns the list of files updated (resp. added or committed).

It could be beneficial to have the related functions of PySVN return these list of files.


I do not have the rights to update your issue so I let you do it.

IbrahimBond commented 3 years ago

I do not have the rights to update your issue so I let you do it.

done