svn client to group commits by time range - eclipse

Is there any SVN Client/Eclipse plugin which could let the user see all his/her commits during a time range (per day, etc)? Since our CI doesn't support grouping the commits by tasks, how can I do the above thing by myself?
Is there a way to see all my commits per day in Eclipse?

None of Subversion clients allow internal filtering by commit-author (AFAIK) (but svn log | grep USER will work)
svn log in core have support for dates as revision parameters (see svn help log /-r "{DATE}"/ and Revision Dates topic in SVN Book /with special attention to warning "Is Subversion a Day Early?"/)

Related

Migrating to GitHub from SVN (VisualSVN Server) keeping SVN version numbers

Ok so we are trying to move from SVN (VisualSVN Server in house) to GitHub and we want to keep version numbers, all the posts so far I have tried to follow don't seem to find the version numbers. And I end up getting this 'Unable to determine upstream SVN information from HEAD history'
So we used the GitHub import utility to bring over the SVN repository but everything I have tried after that doesn't seem to work to allow us to access version numbering from SVN.
If anyone can help me please, I am not really great in either SVN or GitHub and all advice would be very welcome.
What do you mean by "we want to keep version numbers"? - The version info from SVN (revision numbers I think they call it) we need for historic records (we are getting rid of SVN) it would be great to see them as a message in the commit comments for historic SVN items. I may be using the wrong terms sorry.
I am not really great in either SVN or GitHub
Hire anybody proficient in at least one theme: SVN or Git (Github is service on top of Git and it's irrelevant to task "repository migration")
Another way is:
read and understand git-svn topic from Git Book
convert SVN-repository to local Git-repo
using fresh Git, discover and use find-rev subcommand in git-svn for your task:
When given an SVN revision number of the form rN, returns the
corresponding Git commit hash (this can optionally be followed by a
tree-ish to specify which branch should be searched). When given a
tree-ish, returns the corresponding SVN revision number.

SVN log display for commits occurred in a single day

I have tried running svn log command to list the commits occurred in SVN repository for a day.
But after running the below command in the output, i could see first line was previous day's commit.
Is there any way to get the changes happened in a same day. Any explanation on where i did the mistake?
Command I tried:- svn log <\repo-url> -r {2014-06-03T00:00:00}:{2014-06-03T23:59:59}
result shown as below:-
Maybe you'll try to read SVN Book "Revision Specifiers", "Is Subversion a Day Early?" note at least once?!
Remember that Subversion will find the most recent revision of the repository as of the date you give
I.e when you use date-range in log, first record will be always earlier, than range-start and you have to skip first record
For SVN 1.8+ and reasonable short range you can use --search + --search-and options as additional or main filter
As #LazyBadger has already suggested, you can use --search and --search-and options with Apache Subversion 1.8+ command-line client. These command-line options are described in Subversion 1.8 Release Notes.
GUI clients such as TortoiseSVN provide you with an interface to do such searches / filtering / grouping / etc. See TortoiseSVN example here.

CVS in Eclipse showing multiple revision numbers

CVS is showing multiple revisions numbers at the end of my file names. Any idea what is going on here and whether I should be worried?
I am not sure how do you sync your files with your CVS. In my case I do sync externally[meaning, not from eclipse] in such case you can select all your projects > Team [on right menu] > Disconnect >do not delete CVS metadata info in next window.
CVS (like RCS, but unlike many other systems like SVN and Git) tracks the revision history of each file independently. In SVN, for example, a given version number applies to the entire repository. In CVS, each file has its own independent history and current version number. Having different version numbers for different files is perfectly normal.

Eclipse Subversive, one commit, multiple revision numbers

I got multiple projects in the same repository location.
If I commit changes to multiple projects in one commit (select them all, and commit), Subversive creates one revision per project.
For example, if I made changes to 17 files in 5 projects, and I commit them all, Subversive will create 5 revisions with the same comment, but what I really want is one revision with the 17 files.
Is there a way to do this with Subversive?
I also have noticed the same behavior if I commit multiple projects in one commit. This apparently happens because of the JavaHL svn connector, as mentioned here. You could switch to SVNKit if this bothers you.
Note, only JavaHL enables you to use Subversive and other svn clients like Tortoise SVN interchangeable for commits on the same files. Here is more detailed SO thread about the difference between JavaHL and SVNKit.

How can I do a partial update (i.e., get isolated changesets) from subversion with subclipse?

If a file is committed several times with various changes, how can I fetch one change at a time, i.e., one changeset at a time?
I use eclipse, subversion, and subclipse, and I can't change the former two for the time being (or the MS platform..).
In my Team/Synchronization view in eclipse (using subclipse), choosing the changeset model, a file seems to be listed only in the latest relevant changeset even if all changesets are listed. So an earlier changeset doesn't necessarily show the full set of files in the original commit, nor the original diff for a file in a commit.
Update: I'm thinking about using changesets for simplified code review, so I'd like the partial update represented for all the files commited in one changeset. It's easy to get diffs and specific revisions for specific files in eclipse, but I'd like to step through all the changes in one specific commit/ changeset in a practical manner.
As I'm sure you know, svn up will by default grab the latest revision of the file.
However, you can use the -r parameter to svn up to grab a particular revision of a file. So if you know a file was committed in revisions 5, 7, and 9, you could do this:
svn up -r5 myfile
svn up -r7 myfile
svn up -r9 myfile
I believe (but I don't have an installation of it in front of me) that Subclipse has a similar option, labeled something like "Update to Revision..."
Subversion does not support atomic changesets.
(Note: If anyone can prove me wrong, I'll happily switch accepted answer.)
I've compared Git and Subversion using TortoiseGit and TortoiseSVN (and looked at what is possible on the command line).
With both Svn and Git I can update to a certain revision, or see and update to different versions of only one file at a time.
With both Tortoise clients can I see individual commits (revisions) from the repository and look at changes between a revision and the previous revision. (Note that I can't seem to do this in Eclipse, ref the question.)
Only with Git, however, can I update to or cherry-pick an isolated commit. The closest I've seen to this functionality in Subversion is to update to head and then revert a certain revision with a "subtractive merge"...
Test setup: make a project, check out or clone the project, make 2 separate commits to repository from elsewhere, including at least one file that is modified in both commits.
Then, with Git: fetch remote changes.
Then, with both Git and Subversion: look at the log.