OpenBSD CVS

CVS log for src/usr.bin/cvs/remote.h


[BACK] Up to [local] / src / usr.bin / cvs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.38 / (download) - annotate - [select for diffs], Mon Aug 28 19:33:20 2017 UTC (6 years, 8 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, HEAD
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

fix const related warnings; ok millert@

Revision 1.37 / (download) - annotate - [select for diffs], Sat Apr 4 11:29:57 2009 UTC (15 years, 1 month ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

properly expand modules if requested by the client,
this option is needed so gnu cvs clients can play along
properly when running checkout <module> in a remote setup.

if we do not support this, gnu cvs refuses to send us any
existing files already on disk and opencvs will consider everything
as NEEDS_CHECKOUT, instead of running an update on existing stuff.

problem noticed by fgsch@
commited with opencvs, but please everybody else
do not use opencvs to commit yet.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Mar 19 09:53:16 2009 UTC (15 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.35: +4 -3 lines
Diff to previous 1.35 (colored)

properly register Questionable files using CVS/Entries server-side
in order for them to show up as "? foobar" when opencvs is in server mode.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jan 2 00:11:01 2009 UTC (15 years, 4 months ago) by canacar
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.34: +5 -3 lines
Diff to previous 1.34 (colored)

Add format attributes to functions that use variable arguments and
make the code -Wformat=2 clean. ok joris@ xsa@

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jul 8 12:54:50 2008 UTC (15 years, 10 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

missed in last commit, to make things compile cleaner

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jun 12 07:16:14 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

completely kill the need for TMP_DIR when running checkout,
which gives us better performance among other things.

this is however disabled in a few cases:
1) whenever you run checkout over an existing tree (which acts as update)
2) whenever you specify -d or a module alias

we're planning on enabling this behaviour for case 2 in the future.

anoncvs sysadmins now love us even more.

ok tobias@

Revision 1.32 / (download) - annotate - [select for diffs], Wed Feb 27 22:34:04 2008 UTC (16 years, 2 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

prevent file races

ok tobias@

Revision 1.31 / (download) - annotate - [select for diffs], Sun Feb 10 14:00:41 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored)

introduce cvs_validate_directory(), which is used to check
directory path to make sure they do not fall outside the CVSROOT
or the working copy directory in a remote setup

Revision 1.30 / (download) - annotate - [select for diffs], Sun Feb 3 18:18:44 2008 UTC (16 years, 3 months ago) by tobias
Branch: MAIN
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

Added rdiff support.  In order to do this, some output and option fixes
had to be done for diff, too.

OK joris@

Revision 1.29 / (download) - annotate - [select for diffs], Fri Feb 1 17:18:59 2008 UTC (16 years, 3 months ago) by tobias
Branch: MAIN
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

Added rannotate support

OK xsa@

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jan 21 16:36:46 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

Fixed export to be fully functional and compliant to GNU cvs in local and
remote setups.

OK xsa@

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jan 10 11:20:29 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

Added support for rtag in local and remote setups (with interoperability
with GNU cvs).  Basically we already had rtag in place as tag is supposed
to work with revisions in working directory, but our implementation was
wrong.  Fixed that on the fly as well.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Sep 22 15:57:24 2007 UTC (16 years, 8 months ago) by joris
Branch: MAIN
Changes since 1.25: +4 -1 lines
Diff to previous 1.25 (colored)

we no longer create a 0 sized file in our /tmp/cvs-serv<pid> server
directory when a client sends us info about a file that is up to date.

instead, remember the file is up to date in our CVS/Entries. Saves us a lot
of headaches on very big trees like src/

Revision 1.25 / (download) - annotate - [select for diffs], Thu Aug 30 11:07:18 2007 UTC (16 years, 8 months ago) by joris
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

properly send our log message to the server using Argumentx, so we
no longer break when the log message has multiple lines.

from Tobias Stoeckmann, thanks for doing my work!

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jul 3 13:22:43 2007 UTC (16 years, 10 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.23: +3 -1 lines
Diff to previous 1.23 (colored)

Rework the way opencvs works in relation to files in the Attic/:

Previously, files in the 'Attic/' were linked into our filelist as being
'Attic/filename,v' this caused unneeded stress on certain functions
like cvs_file_classify() who had to do pointer voodoo to split out
the 'Attic/' part and do other very weird stuff to normalize the pathname
of these files.

Instead, we handle these files early in the start when we
build the fileslist in cvs_repository_getdir(). When encountering
the 'Attic/' directory, we recurse in it if required but instead of
using the 'Attic/' directory component as our base directory we stick
with the directory name where 'Attic/' resides in, resulting in the
correct filename while maintaining the correct RCSpath for the file.

This made the following things a lot easier:
(and in most cases actually fixed the below points)

- status with files in Attic/.
- checking out HEAD repositories with files in Attic/.
- checking out repositories with -rTAG.
- updating with -rTAG.

and as an added bonus the following now also works:

- correctly creating CVS/Tag in both local and remote mode thus
  allowing update/status/and more to work correctly with the tagged tree.
  (thanks to the correct handling of -rTAG cases).
- resetting tags with opencvs -A properly works too now.

This is a major step forward into the usability
of OpenCVS when it comes to maintaining multiple tagged trees, the next
logical step would be to fix commiting to branches.

enjoy you -stable cowards.

tested by myself, xsa, niallo and ckuethe
thanks guys!

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jun 29 12:42:05 2007 UTC (16 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored)

Server-side bits for release command.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jun 27 20:42:19 2007 UTC (16 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.21: +3 -1 lines
Diff to previous 1.21 (colored)

have the server be more strict about the requests the client
sends that need a 'Directory' request first, so we do not
end up with very weird and possibly insecure behaviour.

more soon!

ok niallo@ ray@ xsa@

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jun 26 02:24:10 2007 UTC (16 years, 10 months ago) by niallo
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

add support for cvs rlog.
from Mickey.

ok joris@ ray@

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jan 18 16:45:52 2007 UTC (17 years, 4 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

import improvements:
- add support for remote import in opencvs client and server.
- do not free already free'd buffers in import_update()
- do not append a '\0' to the loaded file buffer, this was bad behaviour

makes import work fine both locally and remotely.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jan 17 17:54:50 2007 UTC (17 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

add support for remote checkout in both our client and server,
with this the last real dependency to actually be able to use opencvs
in a remote setup has been added.

based upon an initial diff from xsa@
'kay niallo@

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jan 13 15:29:34 2007 UTC (17 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

- remote update now works again, with new rcs api
- we no longer hold the entire file in memory when sending or receiving it

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jan 3 22:28:30 2007 UTC (17 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

add support for 'remove' in a remote setup.
testing appriciated, as always.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jan 3 19:27:28 2007 UTC (17 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.15: +4 -1 lines
Diff to previous 1.15 (colored)

fix CVS_CLIENT_LOG logging, we were missing parts
which was making it very hard to correctly debug remote connections.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Dec 19 15:12:59 2006 UTC (17 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.14: +6 -1 lines
Diff to previous 1.14 (colored)

- Introduce a way for the command code to recognize what the server replied.
- Modify the add command so it uses the above method to correctly enter
  added files in CVS/Entries if in a remote setup.

ok xsa@

... And no a shark didnt eat me.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Dec 19 14:11:21 2006 UTC (17 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

add client-side support for Set-static-directory.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 19 11:46:39 2006 UTC (17 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.12: +4 -1 lines
Diff to previous 1.12 (colored)

add client-side support for Clear-static-directory, Clear-sticky and
Set-sticky requests. Set-sticky needs more work though.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Dec 15 13:12:14 2006 UTC (17 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

dummy support for update-patches request.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Dec 15 09:50:37 2006 UTC (17 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

server-side Static-directory bits.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Dec 15 08:02:53 2006 UTC (17 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

server-side Sticky bits.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 27 16:04:10 2006 UTC (17 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

hook up annotate server bits.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 14 15:39:42 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Add support for the "Set" request.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 14 09:59:54 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

dummy support for Argumentx request.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 14 09:47:52 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Bring back version command. Still needs tweaks to make the
gnu cvs client<->opencvs server setup work. Rest works fine.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 13 12:57:03 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Add server-side bits for admin command.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 9 14:00:14 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

cvs init remote bits.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Nov 9 09:24:28 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored)

remote tag command support joins the party!

Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 31 15:23:40 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

a step ahead in opencvs add|remove remote support.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jul 7 17:37:17 2006 UTC (17 years, 10 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0

first part of opencvs remote, fairly useable on existing trees
although i advise against using it on real development trees for now.

only a few commands work right so far:
- commit
- diff
- status
- log
- update (partially working)

if you feel like testing remote and run into bugs feel free to
contact me, and please include a full trace (-t).

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.